Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.014/1.014, allocations: 173.3 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.786e-05, allocations: 14.19 kB / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004181/0.004199, allocations: 3.68 MB / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.005833, allocations: 0.9972 MB / 272.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.006049, allocations: 19.88 kB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.006401, allocations: 103.1 kB / 272.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006601/0.007061, allocations: 258.3 kB / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.007316, allocations: 143.6 kB / 273.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.008025, allocations: 0.9842 MB / 274.2 MB, free: 196 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.008384, allocations: 327.4 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005509/0.008935, allocations: 0.6042 MB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.009479, allocations: 470.9 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.009585, allocations: 100 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.009697, allocations: 107.9 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.009874, allocations: 291.1 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.01035, allocations: 331.2 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006992/0.01105, allocations: 0.771 MB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01106, allocations: 0 / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01106, allocations: 0 / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.01107, allocations: 0 / 277.2 MB, free: 13.2 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001433/0.0125, allocations: 1.497 MB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.01253, allocations: 12.86 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.01269, allocations: 148.3 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.0132, allocations: 0.5253 MB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.01323, allocations: 57.66 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/0.0133, allocations: 64.38 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.01399, allocations: 0.5759 MB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.01401, allocations: 4 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.01405, allocations: 31.92 kB / 280.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.01408, allocations: 33.31 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.01449, allocations: 243.6 kB / 280.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.01671, allocations: 2.398 MB / 282.7 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.01706, allocations: 287.7 kB / 283 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.01728, allocations: 152.2 kB / 283.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.0173, allocations: 8.328 kB / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.01765, allocations: 265.9 kB / 283.4 MB, free: 6.664 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.863e-06/0.01765, allocations: 0 / 283.4 MB, free: 6.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001178/0.01883, allocations: 0.6521 MB / 284.1 MB, free: 6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.01888, allocations: 106.8 kB / 284.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.01926, allocations: 0.5143 MB / 284.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.01929, allocations: 37.7 kB / 284.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.01962, allocations: 419.3 kB / 285.2 MB, free: 4.887 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.0197, allocations: 154.8 kB / 285.3 MB, free: 4.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.01981, allocations: 91.84 kB / 285.4 MB, free: 4.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.01995, allocations: 0.5509 MB / 286 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.02006, allocations: 60.95 kB / 286 MB, free: 4.016 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.02026, allocations: 284.6 kB / 286.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.02059, allocations: 345.8 kB / 286.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.02059, allocations: 0 / 286.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005018/0.02109, allocations: 440.1 kB / 287.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.0211, allocations: 4 kB / 287.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.02111, allocations: 4 kB / 287.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/0.02136, allocations: 104.1 kB / 287.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.02154, allocations: 75.89 kB / 287.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1179/0.1395, allocations: 2.548 MB / 289.8 MB, free: 27.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.1399, allocations: 50.03 kB / 289.8 MB, free: 27.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.1399, allocations: 17.38 kB / 289.9 MB, free: 27.67 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.1402, allocations: 199.9 kB / 290 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.015e-05/0.1403, allocations: 66.47 kB / 290.1 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.448e-05/0.1404, allocations: 62.03 kB / 290.2 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1404, allocations: 5.328 kB / 290.2 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1404, allocations: 2.531 kB / 290.2 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1404, allocations: 4.625 kB / 290.2 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.1417, allocations: 1.169 MB / 291.4 MB, free: 27.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1417, allocations: 0.5625 kB / 291.4 MB, free: 27.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.1419, allocations: 45.66 kB / 291.4 MB, free: 27.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.1421, allocations: 98 kB / 291.5 MB, free: 27.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.1421, allocations: 10.09 kB / 291.5 MB, free: 27.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.1435, allocations: 2.518 MB / 294 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1435, allocations: 3.938 kB / 294 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.1442, allocations: 0.5779 MB / 294.6 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1443, allocations: 117.7 kB / 294.7 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.1443, allocations: 14.44 kB / 294.7 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1445, allocations: 20.5 kB / 294.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.1446, allocations: 53.11 kB / 294.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.1446, allocations: 12.75 kB / 294.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002638/0.1449, allocations: 336.1 kB / 295.1 MB, free: 24.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1449, allocations: 1.938 kB / 295.2 MB, free: 24.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005322/0.1454, allocations: 205.9 kB / 295.4 MB, free: 24.72 MB / 266.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.1456, allocations: 127.2 kB / 295.5 MB, free: 24.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006655/0.1462, allocations: 0.4908 MB / 296 MB, free: 24.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1462, allocations: 0 / 296 MB, free: 24.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.1465, allocations: 383.6 kB / 296.3 MB, free: 24.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.147, allocations: 141.9 kB / 296.5 MB, free: 24.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1487, allocations: 1.257 MB / 297.7 MB, free: 23.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1489, allocations: 247.7 kB / 298 MB, free: 23.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.1491, allocations: 72.78 kB / 298.1 MB, free: 23.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.1492, allocations: 37.62 kB / 298.1 MB, free: 23.57 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1492, allocations: 0 / 298.1 MB, free: 23.57 MB / 266.7 MB Notification: Performance of Templates: time 0.01189/0.1611, allocations: 10.06 MB / 308.1 MB, free: 19.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.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.8443902959115803]