Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008697/0.0008695, allocations: 95.62 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008634/0.0008634, allocations: 180.8 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004916, allocations: 12 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1199, allocations: 47.59 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.007966/0.1279, allocations: 5.068 MB / 333.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.1331, allocations: 2.07 MB / 335.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.1345, allocations: 16 kB / 335.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.1357, allocations: 202.7 kB / 335.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002765/0.1385, allocations: 0.7165 MB / 336.4 MB, free: 12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.14, allocations: 371 kB / 336.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.1421, allocations: 0.784 MB / 337.5 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.1443, allocations: 0.9219 MB / 338.5 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009655/0.1453, allocations: 366.6 kB / 338.8 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.1463, allocations: 454 kB / 339.3 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.1466, allocations: 52 kB / 339.3 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009036/0.1476, allocations: 187.8 kB / 339.5 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.1479, allocations: 163.3 kB / 339.7 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006316/0.1485, allocations: 217.1 kB / 339.9 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.1502, allocations: 1.06 MB / 340.9 MB, free: 7.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1503, allocations: 0 / 340.9 MB, free: 7.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1503, allocations: 0 / 340.9 MB, free: 7.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.578e-05/0.1504, allocations: 0 / 340.9 MB, free: 7.398 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003941/0.1543, allocations: 1.28 MB / 342.2 MB, free: 6.062 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1544, allocations: 8.031 kB / 342.2 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.1577, allocations: 474.3 kB / 342.7 MB, free: 5.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.1591, allocations: 0.5529 MB / 343.2 MB, free: 4.996 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.1593, allocations: 81.98 kB / 343.3 MB, free: 4.914 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.1596, allocations: 104 kB / 343.4 MB, free: 4.812 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/0.1626, allocations: 1.043 MB / 344.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.297e-05/0.1626, allocations: 4 kB / 344.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.1628, allocations: 47.98 kB / 344.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.1628, allocations: 24 kB / 344.5 MB, free: 3.645 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.1652, allocations: 0.9408 MB / 345.5 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006259/0.1714, allocations: 3.762 MB / 349.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.1743, allocations: 2.498 MB / 351.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.1745, allocations: 93.77 kB / 351.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008808/0.1753, allocations: 0.5007 MB / 352.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 2.605e-06/0.1754, allocations: 0 / 352.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.00448/0.1799, allocations: 1.689 MB / 354 MB, free: 9.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.18, allocations: 196.9 kB / 354.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/0.1807, allocations: 470 kB / 354.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.624e-05/0.1808, allocations: 45.7 kB / 354.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.1812, allocations: 427.4 kB / 355.1 MB, free: 8.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.1815, allocations: 283.9 kB / 355.4 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.1815, allocations: 20 kB / 355.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.1818, allocations: 374.8 kB / 355.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.1825, allocations: 289.8 kB / 356.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.1833, allocations: 0.5201 MB / 356.6 MB, free: 6.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.184, allocations: 343 kB / 356.9 MB, free: 6.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.184, allocations: 4 kB / 356.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002255/0.1863, allocations: 1.096 MB / 358 MB, free: 5.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.1863, allocations: 8 kB / 358 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.1864, allocations: 12.06 kB / 358.1 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009182/0.1873, allocations: 275.8 kB / 358.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.1879, allocations: 171.7 kB / 358.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/0.1937, allocations: 4.461 MB / 362.9 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/0.1946, allocations: 123.2 kB / 363.1 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.1948, allocations: 35.94 kB / 363.1 MB, free: 15.96 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006118/0.1954, allocations: 257.6 kB / 363.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.1956, allocations: 67.34 kB / 363.4 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.1982, allocations: 0.9909 MB / 364.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.1983, allocations: 8 kB / 364.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1983, allocations: 0 / 364.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.1983, allocations: 3.984 kB / 364.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005482/0.2038, allocations: 1.954 MB / 366.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.2039, allocations: 0 / 366.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007334/0.2046, allocations: 111.9 kB / 366.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.2059, allocations: 269.9 kB / 366.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/0.206, allocations: 19.98 kB / 366.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00807/0.2141, allocations: 4.424 MB / 371.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2142, allocations: 0 / 371.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004107/0.2183, allocations: 1.427 MB / 372.6 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/0.2189, allocations: 216 kB / 372.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.2191, allocations: 23.95 kB / 372.9 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.2197, allocations: 47.97 kB / 372.9 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.22, allocations: 72.89 kB / 373 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.2201, allocations: 20.19 kB / 373 MB, free: 5.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006084/0.2207, allocations: 318.9 kB / 373.3 MB, free: 5.348 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2208, allocations: 3.938 kB / 373.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001903/0.2227, allocations: 315.1 kB / 373.6 MB, free: 5.035 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005128/0.2232, allocations: 151.3 kB / 373.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0033/0.2265, allocations: 1.124 MB / 374.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.2266, allocations: 448 / 374.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.2286, allocations: 0.7431 MB / 375.6 MB, free: 2.965 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2296, allocations: 102 kB / 375.7 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005998/0.2356, allocations: 2.058 MB / 377.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.221/0.4566, allocations: 1.006 MB / 378.8 MB, free: 50.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006574/0.4574, allocations: 86.12 kB / 378.9 MB, free: 50.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.4576, allocations: 50.38 kB / 378.9 MB, free: 50.84 MB / 318.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4576, allocations: 0 / 378.9 MB, free: 50.84 MB / 318.1 MB Notification: Performance of Templates: time 0.02378/0.4814, allocations: 11.13 MB / 390.1 MB, free: 47.92 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches