Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001258/0.001258, allocations: 80.06 kB / 21.18 MB, free: 3.383 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.001386/0.001386, allocations: 145.1 kB / 24.54 MB, free: 28 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 0.9303/0.9303, allocations: 173.3 MB / 201.1 MB, free: 9.301 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 268 MB, free: 6.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.142e-05, allocations: 2.312 kB / 268 MB, free: 6.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.00437/0.004402, allocations: 3.442 MB / 271.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.006224, allocations: 0.8334 MB / 272.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.006503, allocations: 7.938 kB / 272.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.006706, allocations: 71.3 kB / 272.4 MB, free: 2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.007071, allocations: 134.7 kB / 272.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.007433, allocations: 143.6 kB / 272.6 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005815/0.008014, allocations: 0.5328 MB / 273.2 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.008228, allocations: 114.4 kB / 273.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.008594, allocations: 299.3 kB / 273.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.008807, allocations: 159.5 kB / 273.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.008861, allocations: 44 kB / 273.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.873e-05/0.00891, allocations: 48 kB / 273.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.00898, allocations: 115.6 kB / 273.9 MB, free: 432 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.009107, allocations: 155.6 kB / 274.1 MB, free: 276 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.009485, allocations: 342.8 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.009489, allocations: 0 / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00949, allocations: 0 / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.009501, allocations: 0 / 274.4 MB, free: 15.93 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009388/0.01044, allocations: 0.8743 MB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.01047, allocations: 8.922 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.01058, allocations: 80.61 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.0109, allocations: 292.2 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.01092, allocations: 25.38 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.01097, allocations: 40.38 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.01137, allocations: 346.2 kB / 276.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.01138, allocations: 4.188 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.01141, allocations: 20.12 kB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.01142, allocations: 8 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.01163, allocations: 137.8 kB / 276.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.01323, allocations: 1.451 MB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.0135, allocations: 168 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.01369, allocations: 119.3 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.01371, allocations: 8.234 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.01394, allocations: 221.8 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.01394, allocations: 0 / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007842/0.01473, allocations: 396.8 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.01478, allocations: 118.7 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.01498, allocations: 322.3 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.015, allocations: 37.7 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.01512, allocations: 263.4 kB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.01517, allocations: 103.1 kB / 279.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.01525, allocations: 79.72 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.01538, allocations: 0.5079 MB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.01546, allocations: 40.72 kB / 280 MB, free: 9.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.01563, allocations: 264.9 kB / 280.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.01588, allocations: 298.2 kB / 280.6 MB, free: 9.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.01589, allocations: 4 kB / 280.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004028/0.01629, allocations: 327.1 kB / 280.9 MB, free: 8.949 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.01631, allocations: 11.94 kB / 280.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.01632, allocations: 7.984 kB / 280.9 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.01657, allocations: 71.67 kB / 281 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.01673, allocations: 59.91 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.01825, allocations: 2.275 MB / 283.3 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.0184, allocations: 35.77 kB / 283.4 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.01842, allocations: 20 kB / 283.4 MB, free: 6.352 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: 11 (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.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.01856, allocations: 176.5 kB / 283.6 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.01861, allocations: 51.78 kB / 283.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.01866, allocations: 39.08 kB / 283.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01866, allocations: 0 / 283.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01866, allocations: 7.938 kB / 283.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01867, allocations: 3.984 kB / 283.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007219/0.01939, allocations: 492.8 kB / 284.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.0194, allocations: 0 / 284.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.57e-05/0.01949, allocations: 31.92 kB / 284.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001415/0.01963, allocations: 63.67 kB / 284.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.01966, allocations: 15.92 kB / 284.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.02082, allocations: 2.255 MB / 286.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.02082, allocations: 4.031 kB / 286.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.02129, allocations: 383.8 kB / 286.9 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.02137, allocations: 51.72 kB / 286.9 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.0214, allocations: 8 kB / 286.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.02148, allocations: 11.98 kB / 287 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.02156, allocations: 31.95 kB / 287 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.02158, allocations: 11.98 kB / 287 MB, free: 2.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001425/0.02172, allocations: 219 kB / 287.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02172, allocations: 0 / 287.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.02209, allocations: 127.7 kB / 287.3 MB, free: 2.18 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001333/0.02223, allocations: 118.2 kB / 287.4 MB, free: 2.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.02273, allocations: 397.3 kB / 287.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02273, allocations: 320 / 287.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.02296, allocations: 305.2 kB / 288.1 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.02323, allocations: 61.02 kB / 288.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.02448, allocations: 0.6778 MB / 288.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.489e-05/0.02456, allocations: 104.6 kB / 289 MB, free: 448 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.623e-05/0.02466, allocations: 35.09 kB / 289 MB, free: 412 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.02471, allocations: 32.44 kB / 289 MB, free: 380 kB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02471, allocations: 0 / 289 MB, free: 380 kB / 266.7 MB Notification: Performance of Templates: time 0.008106/0.03282, allocations: 4.738 MB / 293.8 MB, free: 11.75 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.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.8188322349451482]