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.0009257/0.0009257, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0008841/0.0008841, allocations: 141.9 kB / 24.97 MB, free: 8.359 MB / 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 0.9575/0.9575, allocations: 173.4 MB / 201.5 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.453e-06/1.453e-06, allocations: 0 / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.211e-05, allocations: 2.312 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003576/0.003598, allocations: 3.669 MB / 271.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.004959, allocations: 0.9972 MB / 272.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.005132, allocations: 15.88 kB / 272.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.005347, allocations: 107.1 kB / 272.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.005879, allocations: 258.3 kB / 273.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.006076, allocations: 143.6 kB / 273.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006549/0.006731, allocations: 0.9842 MB / 274.3 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.007084, allocations: 327.5 kB / 274.6 MB, free: 172 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.007509, allocations: 0.5964 MB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.007961, allocations: 470.9 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.392e-05/0.008045, allocations: 104 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.865e-05/0.008134, allocations: 100 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.008303, allocations: 295.1 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.008548, allocations: 331.3 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.009117, allocations: 0.7709 MB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.009119, allocations: 0 / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.00912, allocations: 4 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.009127, allocations: 0 / 277.2 MB, free: 13.52 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.001419/0.01055, allocations: 1.489 MB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.01058, allocations: 16.91 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.01074, allocations: 148.3 kB / 278.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.01126, allocations: 0.5344 MB / 279.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.0113, allocations: 53.67 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.01138, allocations: 64.38 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006893/0.01207, allocations: 0.5798 MB / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.01209, allocations: 0 / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.01213, allocations: 24 kB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.01217, allocations: 37.3 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.01261, allocations: 247.6 kB / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.01469, allocations: 2.401 MB / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.01506, allocations: 283.7 kB / 283.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.01529, allocations: 160.1 kB / 283.2 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.01532, allocations: 4.328 kB / 283.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.01561, allocations: 265.9 kB / 283.5 MB, free: 6.977 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.01562, allocations: 0 / 283.5 MB, free: 6.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001227/0.01684, allocations: 0.656 MB / 284.2 MB, free: 6.309 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.01689, allocations: 106.8 kB / 284.3 MB, free: 6.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.01728, allocations: 0.5143 MB / 284.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.01731, allocations: 37.7 kB / 284.8 MB, free: 5.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.0175, allocations: 415.3 kB / 285.2 MB, free: 5.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.01758, allocations: 150.8 kB / 285.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.01767, allocations: 95.88 kB / 285.5 MB, free: 4.945 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.01782, allocations: 0.5508 MB / 286 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.01794, allocations: 64.95 kB / 286.1 MB, free: 4.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.01813, allocations: 280.6 kB / 286.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.01846, allocations: 341.8 kB / 286.7 MB, free: 3.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01846, allocations: 0 / 286.7 MB, free: 3.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005123/0.01897, allocations: 440.1 kB / 287.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.01899, allocations: 4 kB / 287.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01899, allocations: 4 kB / 287.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.01925, allocations: 112.1 kB / 287.2 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.01944, allocations: 79.89 kB / 287.3 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.02102, allocations: 2.539 MB / 289.9 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.02116, allocations: 43.77 kB / 289.9 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.02119, allocations: 20 kB / 289.9 MB, free: 192 kB / 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.1145/0.1356, allocations: 196.3 kB / 290.1 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.1358, allocations: 71.53 kB / 290.2 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.1359, allocations: 60.58 kB / 290.2 MB, free: 28.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1359, allocations: 9.969 kB / 290.2 MB, free: 28.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.136, allocations: 0.8125 kB / 290.2 MB, free: 28.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.136, allocations: 4.703 kB / 290.3 MB, free: 28.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.1376, allocations: 1.169 MB / 291.4 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1376, allocations: 2.125 kB / 291.4 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1377, allocations: 48.94 kB / 291.5 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.138, allocations: 91.53 kB / 291.6 MB, free: 28.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.138, allocations: 15.67 kB / 291.6 MB, free: 28.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.1394, allocations: 2.516 MB / 294.1 MB, free: 26.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1394, allocations: 3.656 kB / 294.1 MB, free: 26.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.1401, allocations: 0.5838 MB / 294.7 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.1403, allocations: 110 kB / 294.8 MB, free: 25.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.1403, allocations: 11.83 kB / 294.8 MB, free: 25.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1404, allocations: 21.47 kB / 294.8 MB, free: 25.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.1406, allocations: 52.17 kB / 294.9 MB, free: 25.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.1406, allocations: 21.56 kB / 294.9 MB, free: 25.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002697/0.1409, allocations: 335.4 kB / 295.2 MB, free: 25.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1409, allocations: 1.062 kB / 295.2 MB, free: 25.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005844/0.1414, allocations: 204.4 kB / 295.4 MB, free: 25.67 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.0001348/0.1416, allocations: 116.9 kB / 295.5 MB, free: 25.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006702/0.1422, allocations: 0.4928 MB / 296 MB, free: 25.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1422, allocations: 1.094 kB / 296 MB, free: 25.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.1426, allocations: 391 kB / 296.4 MB, free: 25.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.143, allocations: 146 kB / 296.5 MB, free: 25.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.1448, allocations: 1.261 MB / 297.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.145, allocations: 239.2 kB / 298 MB, free: 24.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.1451, allocations: 72.09 kB / 298.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.606e-05/0.1452, allocations: 38.52 kB / 298.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1452, allocations: 1 kB / 298.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of Templates: time 0.01077/0.156, allocations: 9.638 MB / 307.8 MB, free: 20.96 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.929669300094247]