Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001917/0.001917, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002027/0.002027, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.681e-05/3.828e-05, allocations: 4.984 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006421/0.00646, allocations: 3.7 MB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.008615, allocations: 0.9621 MB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.008821, allocations: 11.94 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.009088, allocations: 83.16 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.009483, allocations: 154.6 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.009906, allocations: 179.6 kB / 277.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007782/0.01068, allocations: 0.634 MB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.01102, allocations: 148.5 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006177/0.01164, allocations: 363.2 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.01202, allocations: 191.4 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.92e-05/0.01212, allocations: 56 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.01226, allocations: 63.98 kB / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.0124, allocations: 123.5 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.01264, allocations: 187.6 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008907/0.01353, allocations: 0.6658 MB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01354, allocations: 0 / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01354, allocations: 0 / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.01355, allocations: 0 / 279.8 MB, free: 10.3 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002123/0.01567, allocations: 1.073 MB / 280.9 MB, free: 9.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.01571, allocations: 8.031 kB / 280.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.016, allocations: 96.59 kB / 281 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.01659, allocations: 333.2 kB / 281.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.01664, allocations: 41.36 kB / 281.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.01673, allocations: 48.36 kB / 281.4 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/0.01772, allocations: 0.4968 MB / 281.9 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.01774, allocations: 192 / 281.9 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/0.01781, allocations: 23.94 kB / 281.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.01783, allocations: 8 kB / 281.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006506/0.01848, allocations: 299.8 kB / 282.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.0217, allocations: 2.05 MB / 284.3 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008582/0.02255, allocations: 373 kB / 284.7 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/0.02324, allocations: 264.1 kB / 284.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.02329, allocations: 8.328 kB / 284.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000599/0.02388, allocations: 318.2 kB / 285.2 MB, free: 4.656 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.02389, allocations: 0 / 285.2 MB, free: 4.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.002648/0.02653, allocations: 0.7826 MB / 286 MB, free: 3.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.02663, allocations: 89.06 kB / 286.1 MB, free: 3.758 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005449/0.02717, allocations: 414.3 kB / 286.5 MB, free: 3.336 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.02723, allocations: 41.69 kB / 286.5 MB, free: 3.289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.02749, allocations: 296 kB / 286.8 MB, free: 2.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.02767, allocations: 154.8 kB / 287 MB, free: 2.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.02787, allocations: 103.8 kB / 287.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003557/0.02822, allocations: 0.5391 MB / 287.6 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.02847, allocations: 109 kB / 287.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/0.02923, allocations: 333 kB / 288.1 MB, free: 1.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007335/0.02996, allocations: 441.7 kB / 288.5 MB, free: 1.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.02997, allocations: 0 / 288.5 MB, free: 1.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001057/0.03103, allocations: 0.5199 MB / 289 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.03104, allocations: 4 kB / 289 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.03106, allocations: 8.453 kB / 289 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.0316, allocations: 161.2 kB / 289.2 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.03187, allocations: 67.91 kB / 289.2 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.03584, allocations: 3.055 MB / 292.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.03615, allocations: 39.73 kB / 292.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.03618, allocations: 16 kB / 292.4 MB, free: 13.17 MB / 282.7 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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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.0003231/0.0365, allocations: 232.4 kB / 292.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.03662, allocations: 51.77 kB / 292.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.03675, allocations: 48.3 kB / 292.7 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.03675, allocations: 4 kB / 292.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.03676, allocations: 0 / 292.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.03676, allocations: 7.875 kB / 292.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.03856, allocations: 0.9984 MB / 293.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.03857, allocations: 32 / 293.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.03874, allocations: 35.98 kB / 293.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.03918, allocations: 147.7 kB / 293.9 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.03921, allocations: 8 kB / 293.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004/0.04321, allocations: 3.05 MB / 296.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.04322, allocations: 0 / 296.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.04463, allocations: 0.774 MB / 297.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.04483, allocations: 79.8 kB / 297.8 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.04489, allocations: 7.984 kB / 297.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.04511, allocations: 19.98 kB / 297.8 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.04522, allocations: 31.94 kB / 297.8 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.04525, allocations: 15.98 kB / 297.8 MB, free: 7.449 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003318/0.04558, allocations: 275 kB / 298.1 MB, free: 7.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04558, allocations: 0 / 298.1 MB, free: 7.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006613/0.04625, allocations: 147.7 kB / 298.3 MB, free: 7.039 MB / 282.7 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_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,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.0002033/0.04645, allocations: 127.1 kB / 298.4 MB, free: 6.902 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.04766, allocations: 0.6069 MB / 299 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.04766, allocations: 0 / 299 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.04835, allocations: 445.1 kB / 299.4 MB, free: 5.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.04886, allocations: 76.48 kB / 299.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.0508, allocations: 0.8784 MB / 300.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.05108, allocations: 232.7 kB / 300.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.05122, allocations: 39.27 kB / 300.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.0513, allocations: 32.44 kB / 300.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0513, allocations: 0 / 300.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of Templates: time 0.1198/0.1711, allocations: 6.568 MB / 307.2 MB, free: 41.28 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.716761104995385]