Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001206/0.001206, allocations: 78.19 kB / 21.42 MB, free: 3.078 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.004237/0.004237, allocations: 151.8 kB / 24.81 MB, free: 9.289 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 1.016/1.016, allocations: 173.3 MB / 201.4 MB, free: 9.219 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.328e-05, allocations: 2.312 kB / 268.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.003811/0.003824, allocations: 4.446 MB / 272.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.005352, allocations: 1.211 MB / 274.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.005557, allocations: 31.81 kB / 274.1 MB, free: 472 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.00582, allocations: 170.6 kB / 274.3 MB, free: 300 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006531/0.006474, allocations: 377.6 kB / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.006714, allocations: 203.6 kB / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.007721, allocations: 1.653 MB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.008258, allocations: 0.5715 MB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007479/0.009006, allocations: 1.017 MB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007367/0.009742, allocations: 0.8418 MB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.009902, allocations: 176 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.01008, allocations: 176 kB / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.01036, allocations: 0.4946 MB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.01074, allocations: 0.5456 MB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008627/0.0116, allocations: 1.328 MB / 281.6 MB, free: 8.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.0116, allocations: 0 / 281.6 MB, free: 8.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.0116, allocations: 0 / 281.6 MB, free: 8.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.01162, allocations: 0 / 281.6 MB, free: 8.867 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001998/0.01361, allocations: 2.266 MB / 283.9 MB, free: 6.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.01365, allocations: 12.92 kB / 283.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.01386, allocations: 240 kB / 284.2 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.01457, allocations: 0.7874 MB / 284.9 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.01461, allocations: 74.44 kB / 285 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.01471, allocations: 112.4 kB / 285.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/0.01559, allocations: 0.8402 MB / 286 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.01561, allocations: 7.891 kB / 286 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.01567, allocations: 44 kB / 286 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/0.01572, allocations: 46.03 kB / 286.1 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.01618, allocations: 301.9 kB / 286.4 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1144/0.1306, allocations: 3.856 MB / 290.2 MB, free: 25.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/0.1314, allocations: 477.7 kB / 290.7 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.1319, allocations: 321.9 kB / 291 MB, free: 25.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.132, allocations: 12.31 kB / 291 MB, free: 25.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004817/0.1325, allocations: 344 kB / 291.3 MB, free: 25.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.966e-06/0.1325, allocations: 0 / 291.3 MB, free: 25.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002548/0.135, allocations: 1.072 MB / 292.4 MB, free: 25.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1351, allocations: 88.73 kB / 292.5 MB, free: 25.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.1358, allocations: 0.7482 MB / 293.3 MB, free: 25.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.1359, allocations: 42.38 kB / 293.3 MB, free: 25.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.1363, allocations: 0.6195 MB / 293.9 MB, free: 25.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.1364, allocations: 250.2 kB / 294.2 MB, free: 24.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.1366, allocations: 140.8 kB / 294.3 MB, free: 24.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1367, allocations: 0.5131 MB / 294.8 MB, free: 24.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.1369, allocations: 77.98 kB / 294.9 MB, free: 24.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.1372, allocations: 314.7 kB / 295.2 MB, free: 24.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.1378, allocations: 401.4 kB / 295.6 MB, free: 23.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.1378, allocations: 2.078 kB / 295.6 MB, free: 23.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008805/0.1387, allocations: 0.559 MB / 296.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1387, allocations: 8.219 kB / 296.2 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1387, allocations: 4.188 kB / 296.2 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.1391, allocations: 175 kB / 296.3 MB, free: 23.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.1394, allocations: 112.3 kB / 296.4 MB, free: 23.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.1418, allocations: 3.1 MB / 299.5 MB, free: 21.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.1421, allocations: 62.38 kB / 299.6 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.1421, allocations: 22.19 kB / 299.6 MB, free: 21.73 MB / 266.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: 15 (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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.1424, allocations: 207.3 kB / 299.8 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1425, allocations: 121.9 kB / 299.9 MB, free: 21.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.989e-05/0.1426, allocations: 108.5 kB / 300 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1426, allocations: 10.94 kB / 300.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1426, allocations: 0 / 300.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.1426, allocations: 3.562 kB / 300.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.1443, allocations: 1.307 MB / 301.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1443, allocations: 0 / 301.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.1445, allocations: 81.75 kB / 301.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003873/0.1449, allocations: 171.4 kB / 301.6 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.1449, allocations: 13.19 kB / 301.6 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.1469, allocations: 3.048 MB / 304.7 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1469, allocations: 7.672 kB / 304.7 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.1477, allocations: 0.7533 MB / 305.4 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.1479, allocations: 178 kB / 305.6 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.148, allocations: 15.25 kB / 305.6 MB, free: 18.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1481, allocations: 21.75 kB / 305.6 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.1483, allocations: 76.52 kB / 305.7 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.1483, allocations: 19.53 kB / 305.7 MB, free: 18.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003174/0.1486, allocations: 453.8 kB / 306.2 MB, free: 18.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1486, allocations: 4 kB / 306.2 MB, free: 18.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007481/0.1494, allocations: 349.6 kB / 306.5 MB, free: 18.28 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.1495, allocations: 128.2 kB / 306.7 MB, free: 18.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007577/0.1503, allocations: 0.6998 MB / 307.4 MB, free: 17.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1503, allocations: 3.203 kB / 307.4 MB, free: 17.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.1507, allocations: 0.5584 MB / 307.9 MB, free: 17.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.1513, allocations: 241.1 kB / 308.2 MB, free: 17.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.154, allocations: 2.229 MB / 310.4 MB, free: 16.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1543, allocations: 388.2 kB / 310.8 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.1545, allocations: 94.22 kB / 310.9 MB, free: 16.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.1549, allocations: 289.7 kB / 311.1 MB, free: 16.2 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1549, allocations: 0 / 311.1 MB, free: 16.2 MB / 266.7 MB Notification: Performance of Templates: time 0.02361/0.1785, allocations: 18.44 MB / 329.6 MB, free: 14.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.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: 3.0157369687221944]