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.0009047/0.0009047, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.0009301/0.0009301, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 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 0.9152/0.9152, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 1.393e-06/1.393e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.287e-05, allocations: 9.266 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005084/0.005097, allocations: 6.01 MB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.007362, allocations: 2.168 MB / 281.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.00762, allocations: 27.88 kB / 281.5 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009432/0.008563, allocations: 0.7652 MB / 282.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007554/0.009318, allocations: 0.6131 MB / 282.9 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.009881, allocations: 0.5181 MB / 283.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.01094, allocations: 1.237 MB / 284.7 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006724/0.01162, allocations: 0.7649 MB / 285.4 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.01217, allocations: 0.6977 MB / 286.1 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.01254, allocations: 426.8 kB / 286.6 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.01264, allocations: 115.9 kB / 286.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.01297, allocations: 267.7 kB / 286.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.0131, allocations: 259 kB / 287.2 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.01333, allocations: 391 kB / 287.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007603/0.01409, allocations: 0.9886 MB / 288.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.0141, allocations: 4 kB / 288.6 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0141, allocations: 0 / 288.6 MB, free: 1.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.0141, allocations: 0 / 288.6 MB, free: 1.906 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.001753/0.01586, allocations: 1.828 MB / 290.4 MB, free: 24 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.01589, allocations: 11.98 kB / 290.4 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1045/0.1204, allocations: 0.5009 MB / 290.9 MB, free: 19.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.1209, allocations: 0.4999 MB / 291.4 MB, free: 19.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.121, allocations: 77.06 kB / 291.5 MB, free: 19.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.1211, allocations: 104.2 kB / 291.6 MB, free: 19.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008588/0.122, allocations: 0.8351 MB / 292.4 MB, free: 19.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.122, allocations: 2.078 kB / 292.4 MB, free: 19.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.122, allocations: 42.38 kB / 292.5 MB, free: 19.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.122, allocations: 30.19 kB / 292.5 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.1226, allocations: 373.3 kB / 292.9 MB, free: 19.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.1252, allocations: 3.051 MB / 295.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009328/0.1262, allocations: 0.7199 MB / 296.6 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.1265, allocations: 261.9 kB / 296.9 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/0.1266, allocations: 29 kB / 296.9 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/0.127, allocations: 487.4 kB / 297.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.024e-06/0.127, allocations: 0 / 297.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002001/0.129, allocations: 1.073 MB / 298.5 MB, free: 17.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.129, allocations: 193.4 kB / 298.6 MB, free: 16.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.1293, allocations: 472.7 kB / 299.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.1294, allocations: 44.08 kB / 299.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.1295, allocations: 488.5 kB / 299.6 MB, free: 16.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.1297, allocations: 292.5 kB / 299.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.1298, allocations: 165.6 kB / 300.1 MB, free: 16.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.1299, allocations: 0.5508 MB / 300.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.13, allocations: 100.7 kB / 300.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1303, allocations: 0.4976 MB / 301.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.1307, allocations: 0.5195 MB / 301.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1307, allocations: 1.406 kB / 301.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0007956/0.1315, allocations: 0.7095 MB / 302.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1315, allocations: 7.156 kB / 302.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1315, allocations: 11.16 kB / 302.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005011/0.132, allocations: 234.5 kB / 302.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.1323, allocations: 142.7 kB / 302.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.1345, allocations: 5.006 MB / 307.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.1348, allocations: 94.58 kB / 307.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.1348, allocations: 23.84 kB / 308 MB, free: 10.72 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.0001527/0.1349, allocations: 224.5 kB / 308.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.135, allocations: 96.92 kB / 308.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007444/0.1358, allocations: 0.6438 MB / 308.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1358, allocations: 9.094 kB / 308.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1358, allocations: 1.125 kB / 308.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1358, allocations: 4.969 kB / 308.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.137, allocations: 1.278 MB / 310.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.137, allocations: 5.875 kB / 310.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.1372, allocations: 90.17 kB / 310.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/0.1376, allocations: 228.3 kB / 310.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.1376, allocations: 16.05 kB / 310.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.1397, allocations: 4.982 MB / 315.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1397, allocations: 3.938 kB / 315.5 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.1408, allocations: 0.8951 MB / 316.4 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.141, allocations: 142.6 kB / 316.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.141, allocations: 18.28 kB / 316.6 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.1413, allocations: 38.27 kB / 316.6 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.1414, allocations: 78.77 kB / 316.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.1414, allocations: 18.3 kB / 316.7 MB, free: 4.652 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1416, allocations: 297.9 kB / 317 MB, free: 4.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1416, allocations: 0 / 317 MB, free: 4.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007995/0.1424, allocations: 310.6 kB / 317.3 MB, free: 4.219 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.0001784/0.1426, allocations: 158.1 kB / 317.5 MB, free: 4.066 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008448/0.1434, allocations: 0.9123 MB / 318.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1434, allocations: 0 / 318.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.144, allocations: 0.7236 MB / 319.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.1444, allocations: 118.5 kB / 319.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1464, allocations: 1.552 MB / 320.8 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.1466, allocations: 184.7 kB / 320.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.1468, allocations: 77.2 kB / 321 MB, free: 480 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.1471, allocations: 210.1 kB / 321.2 MB, free: 268 kB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1471, allocations: 0 / 321.2 MB, free: 268 kB / 266.7 MB Notification: Performance of Templates: time 0.01919/0.1662, allocations: 12.63 MB / 333.9 MB, free: 3.883 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.9686013222672045]