Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001781/0.001781, allocations: 86.22 kB / 21.44 MB, free: 296 kB / 14.72 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.002448/0.002448, allocations: 165 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.764e-05, allocations: 2.281 kB / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00484/0.004868, allocations: 3.362 MB / 302.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.006639, allocations: 0.928 MB / 303.3 MB, free: 4.371 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.006812, allocations: 11.94 kB / 303.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.00702, allocations: 83.17 kB / 303.4 MB, free: 4.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.007338, allocations: 150.6 kB / 303.5 MB, free: 4.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.007661, allocations: 163.7 kB / 303.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006382/0.008299, allocations: 0.6223 MB / 304.3 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.008587, allocations: 139.9 kB / 304.4 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.008986, allocations: 347.2 kB / 304.8 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.009267, allocations: 175.4 kB / 304.9 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.961e-05/0.009357, allocations: 56 kB / 305 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.009448, allocations: 56 kB / 305 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.009575, allocations: 115.6 kB / 305.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.009793, allocations: 187.5 kB / 305.3 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.01047, allocations: 0.6503 MB / 306 MB, free: 1.633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01048, allocations: 4 kB / 306 MB, free: 1.629 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01048, allocations: 0 / 306 MB, free: 1.629 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.01049, allocations: 0 / 306 MB, free: 1.629 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001524/0.01201, allocations: 0.8203 MB / 306.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.01205, allocations: 19.98 kB / 306.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.01216, allocations: 56.61 kB / 306.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.01262, allocations: 302.5 kB / 307.2 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.01266, allocations: 37.3 kB / 307.2 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.01273, allocations: 44.38 kB / 307.3 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.01351, allocations: 479.8 kB / 307.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.01353, allocations: 192 / 307.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.01357, allocations: 23.94 kB / 307.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.01358, allocations: 12 kB / 307.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.01417, allocations: 315.7 kB / 308.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.0164, allocations: 1.596 MB / 309.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.0171, allocations: 343.9 kB / 310 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.01769, allocations: 253.3 kB / 310.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.01772, allocations: 4.328 kB / 310.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.01819, allocations: 298.8 kB / 310.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/0.01819, allocations: 0 / 310.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002331/0.02052, allocations: 0.771 MB / 311.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.02059, allocations: 85.09 kB / 311.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.02092, allocations: 300.5 kB / 311.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.02096, allocations: 33.7 kB / 311.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.02113, allocations: 220.7 kB / 312 MB, free: 11.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.02124, allocations: 138.8 kB / 312.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.02137, allocations: 82.19 kB / 312.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.02153, allocations: 350.7 kB / 312.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.02176, allocations: 125 kB / 312.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.02211, allocations: 280.8 kB / 312.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.02267, allocations: 370.1 kB / 313.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.02268, allocations: 4 kB / 313.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008764/0.02355, allocations: 0.505 MB / 313.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.02357, allocations: 4 kB / 313.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.02358, allocations: 7.984 kB / 313.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004784/0.02406, allocations: 157 kB / 313.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.02429, allocations: 63.91 kB / 314 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/0.02722, allocations: 2.378 MB / 316.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.02746, allocations: 43.77 kB / 316.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.02749, allocations: 19.94 kB / 316.4 MB, free: 6.688 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002312/0.02772, allocations: 177.7 kB / 316.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.02778, allocations: 35.77 kB / 316.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.02788, allocations: 47.48 kB / 316.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.02789, allocations: 4 kB / 316.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.02789, allocations: 3.938 kB / 316.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.0279, allocations: 3.984 kB / 316.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.02933, allocations: 0.8639 MB / 317.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.02934, allocations: 7.984 kB / 317.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.02951, allocations: 35.86 kB / 317.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003979/0.02991, allocations: 152.8 kB / 317.8 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.02994, allocations: 12 kB / 317.8 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.03273, allocations: 2.39 MB / 320.2 MB, free: 2.801 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03273, allocations: 0 / 320.2 MB, free: 2.801 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.03383, allocations: 0.703 MB / 320.9 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.03397, allocations: 71.7 kB / 320.9 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.03402, allocations: 8 kB / 320.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.03423, allocations: 19.98 kB / 321 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.03434, allocations: 31.94 kB / 321 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.03438, allocations: 19.98 kB / 321 MB, free: 1.926 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.03459, allocations: 203.1 kB / 321.2 MB, free: 1.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03459, allocations: 0 / 321.2 MB, free: 1.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000554/0.03514, allocations: 143.8 kB / 321.4 MB, free: 1.586 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001559/0.0353, allocations: 119.1 kB / 321.5 MB, free: 1.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.03624, allocations: 0.5175 MB / 322 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.03624, allocations: 4 kB / 322 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.03678, allocations: 371.2 kB / 322.4 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.03721, allocations: 68.55 kB / 322.4 MB, free: 496 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1356/0.1728, allocations: 0.8281 MB / 323.3 MB, free: 33.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.173, allocations: 222.7 kB / 323.5 MB, free: 33.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.1732, allocations: 37.28 kB / 323.5 MB, free: 33.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.1733, allocations: 28.69 kB / 323.5 MB, free: 33.48 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1733, allocations: 0 / 323.5 MB, free: 33.48 MB / 302.1 MB Notification: Performance of Templates: time 0.01292/0.1862, allocations: 6.356 MB / 329.9 MB, free: 32.62 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.5119753777980804]