Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009927/0.0009927, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009396/0.0009396, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9694/0.9694, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.665e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.009266/0.009292, allocations: 6.155 MB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.01313, allocations: 2.184 MB / 281.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003821/0.01351, allocations: 23.88 kB / 281.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.0147, allocations: 0.7848 MB / 282.1 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009597/0.01566, allocations: 0.6209 MB / 282.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.01643, allocations: 0.5219 MB / 283.3 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.01744, allocations: 1.222 MB / 284.5 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008372/0.01828, allocations: 0.7649 MB / 285.3 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006409/0.01892, allocations: 0.6977 MB / 286 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004286/0.01935, allocations: 422.8 kB / 286.4 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.01946, allocations: 112 kB / 286.5 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.01987, allocations: 279.6 kB / 286.8 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.02, allocations: 255 kB / 287 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.02026, allocations: 383 kB / 287.4 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008727/0.02113, allocations: 0.9924 MB / 288.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.02114, allocations: 0 / 288.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02114, allocations: 0 / 288.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.02115, allocations: 0 / 288.4 MB, free: 2.039 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001935/0.02309, allocations: 1.797 MB / 290.2 MB, free: 192 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.02312, allocations: 12.03 kB / 290.2 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1025/0.1256, allocations: 0.5018 MB / 290.7 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.1263, allocations: 0.5047 MB / 291.2 MB, free: 19.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.1263, allocations: 77.91 kB / 291.3 MB, free: 19.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.1264, allocations: 108.9 kB / 291.4 MB, free: 19.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.1275, allocations: 0.8959 MB / 292.3 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.1275, allocations: 2.672 kB / 292.3 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.1276, allocations: 41.5 kB / 292.3 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.1276, allocations: 29.8 kB / 292.3 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007803/0.1284, allocations: 460.3 kB / 292.8 MB, free: 19.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.1315, allocations: 3.152 MB / 295.9 MB, free: 17.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1326, allocations: 0.7762 MB / 296.7 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.133, allocations: 287 kB / 297 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.45e-05/0.1331, allocations: 29.88 kB / 297 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004799/0.1336, allocations: 0.4895 MB / 297.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.424e-06/0.1336, allocations: 0 / 297.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002319/0.1359, allocations: 1.156 MB / 298.7 MB, free: 17.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.136, allocations: 192.2 kB / 298.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.1363, allocations: 487.7 kB / 299.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.1364, allocations: 42.19 kB / 299.4 MB, free: 16.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1365, allocations: 476.5 kB / 299.8 MB, free: 16.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.1367, allocations: 292.2 kB / 300.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.1368, allocations: 164.5 kB / 300.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.1369, allocations: 0.5471 MB / 300.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.1371, allocations: 134.4 kB / 301 MB, free: 15.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.1374, allocations: 0.5213 MB / 301.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.1379, allocations: 0.5656 MB / 302.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1379, allocations: 1.406 kB / 302.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0009674/0.1389, allocations: 0.7782 MB / 302.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1389, allocations: 12.81 kB / 302.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1389, allocations: 9.5 kB / 302.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.1395, allocations: 244.1 kB / 303.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.1398, allocations: 146.4 kB / 303.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.1424, allocations: 5.141 MB / 308.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.1426, allocations: 91.45 kB / 308.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.1427, allocations: 36.09 kB / 308.5 MB, free: 10.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.1428, allocations: 218.1 kB / 308.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.1429, allocations: 95.66 kB / 308.8 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008505/0.1438, allocations: 0.7126 MB / 309.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1438, allocations: 7.781 kB / 309.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1438, allocations: 3.719 kB / 309.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1438, allocations: 2.812 kB / 309.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.1452, allocations: 1.431 MB / 311 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1452, allocations: 4.031 kB / 311 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.1454, allocations: 90.86 kB / 311.1 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/0.1458, allocations: 248.3 kB / 311.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.1459, allocations: 22.52 kB / 311.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.148, allocations: 5.092 MB / 316.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.148, allocations: 6.703 kB / 316.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.149, allocations: 0.9971 MB / 317.4 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1491, allocations: 135.3 kB / 317.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.1492, allocations: 19.98 kB / 317.6 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.1494, allocations: 35.98 kB / 317.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.1495, allocations: 76.86 kB / 317.7 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.1495, allocations: 27.98 kB / 317.7 MB, free: 3.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.1496, allocations: 310.8 kB / 318 MB, free: 3.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1496, allocations: 0 / 318 MB, free: 3.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005328/0.1502, allocations: 315.3 kB / 318.3 MB, free: 2.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * 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 (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001832/0.1504, allocations: 155.6 kB / 318.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008378/0.1512, allocations: 0.9679 MB / 319.4 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1512, allocations: 1.25 kB / 319.4 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.1517, allocations: 0.7402 MB / 320.2 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.152, allocations: 125 kB / 320.3 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1538, allocations: 1.553 MB / 321.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.154, allocations: 192.6 kB / 322 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.1541, allocations: 77.2 kB / 322.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.705e-05/0.1542, allocations: 56.48 kB / 322.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1542, allocations: 4 kB / 322.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of Templates: time 0.01431/0.1686, allocations: 12.52 MB / 334.7 MB, free: 2.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1782244010828435]