Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 82.09 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 166.6 kB / 24.5 MB, free: 3.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 57.86 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09529, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008002/0.1033, allocations: 5.61 MB / 384.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004766/0.1081, allocations: 2.122 MB / 386.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000734/0.1088, allocations: 23.94 kB / 386.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.111, allocations: 0.7305 MB / 387.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.1125, allocations: 0.6017 MB / 388 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1138, allocations: 0.5143 MB / 388.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.1153, allocations: 1.195 MB / 389.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.1164, allocations: 0.7611 MB / 390.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006074/0.117, allocations: 482.2 kB / 391 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.1177, allocations: 489.5 kB / 391.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.1179, allocations: 112 kB / 391.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006764/0.1185, allocations: 271.8 kB / 391.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.1188, allocations: 251.1 kB / 392 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005265/0.1193, allocations: 461.8 kB / 392.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.1212, allocations: 1.494 MB / 394 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1212, allocations: 4 kB / 394 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1212, allocations: 4 kB / 394 MB, free: 304 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1212, allocations: 0 / 394 MB, free: 304 kB / 350.1 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.003495/0.1247, allocations: 1.67 MB / 395.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1247, allocations: 8.031 kB / 395.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.1273, allocations: 395.9 kB / 396.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000964/0.1282, allocations: 0.5211 MB / 396.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.271e-05/0.1283, allocations: 78.38 kB / 396.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.1284, allocations: 100.3 kB / 396.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.1304, allocations: 1.124 MB / 397.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.1304, allocations: 0 / 397.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.1305, allocations: 48 kB / 397.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.1305, allocations: 24 kB / 398 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.1323, allocations: 0.851 MB / 398.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/0.1374, allocations: 2.962 MB / 401.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.1394, allocations: 0.843 MB / 402.6 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009844/0.1404, allocations: 403.4 kB / 403 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-05/0.1405, allocations: 24.64 kB / 403 MB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.1415, allocations: 0.5934 MB / 403.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.234e-06/0.1415, allocations: 0 / 403.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004555/0.1461, allocations: 1.481 MB / 405.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.1462, allocations: 192.9 kB / 405.3 MB, free: 4.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.1468, allocations: 469.8 kB / 405.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.1468, allocations: 41.7 kB / 405.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.1472, allocations: 436.6 kB / 406.2 MB, free: 3.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.1474, allocations: 285.5 kB / 406.5 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.1476, allocations: 154.6 kB / 406.6 MB, free: 3.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1478, allocations: 382.7 kB / 407 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005889/0.1484, allocations: 265.8 kB / 407.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/0.1493, allocations: 0.5762 MB / 407.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.1506, allocations: 0.7395 MB / 408.6 MB, free: 1.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1506, allocations: 4 kB / 408.6 MB, free: 1.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002107/0.1527, allocations: 1.006 MB / 409.6 MB, free: 80 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1527, allocations: 11.94 kB / 409.6 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.1527, allocations: 7.984 kB / 409.6 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009372/0.1537, allocations: 269.7 kB / 409.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.1543, allocations: 147.7 kB / 410 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006433/0.1607, allocations: 4.556 MB / 414.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/0.1613, allocations: 91.42 kB / 414.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/0.1614, allocations: 36 kB / 414.7 MB, free: 10.77 MB / 382.1 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.0004554/0.1619, allocations: 239.3 kB / 414.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.162, allocations: 75.56 kB / 415 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.1643, allocations: 0.9552 MB / 416 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1643, allocations: 8 kB / 416 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1643, allocations: 0 / 416 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.1643, allocations: 7.922 kB / 416 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.1677, allocations: 1.648 MB / 417.6 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1677, allocations: 0 / 417.6 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.1682, allocations: 107.8 kB / 417.7 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008569/0.1691, allocations: 260.8 kB / 418 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.1691, allocations: 19.98 kB / 418 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005862/0.175, allocations: 4.504 MB / 422.5 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.175, allocations: 3.984 kB / 422.5 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.1778, allocations: 1.37 MB / 423.9 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.1782, allocations: 139.3 kB / 424 MB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.1783, allocations: 20 kB / 424.1 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.1788, allocations: 39.97 kB / 424.1 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.1789, allocations: 76.8 kB / 424.2 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/0.179, allocations: 27.92 kB / 424.2 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004035/0.1794, allocations: 318.9 kB / 424.5 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1794, allocations: 0 / 424.5 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001113/0.1805, allocations: 311.3 kB / 424.8 MB, free: 388 kB / 382.1 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.0002916/0.1808, allocations: 151.3 kB / 425 MB, free: 228 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.183, allocations: 1.061 MB / 426 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.183, allocations: 4.375 kB / 426 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.1843, allocations: 0.7043 MB / 426.7 MB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.1849, allocations: 102.3 kB / 426.8 MB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.1882, allocations: 1.684 MB / 428.5 MB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.1887, allocations: 408.3 kB / 428.9 MB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003096/0.189, allocations: 81.19 kB / 429 MB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.1891, allocations: 52.48 kB / 429 MB, free: 12.02 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1891, allocations: 0 / 429 MB, free: 12.02 MB / 398.1 MB Notification: Performance of Templates: time 0.0225/0.2116, allocations: 11.62 MB / 440.7 MB, free: 0.5312 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.98911936301738]