Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 169.3 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.016/1.016, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.889e-05, allocations: 2.312 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005227/0.005255, allocations: 3.437 MB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.007281, allocations: 0.9034 MB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/0.00761, allocations: 11.94 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.007823, allocations: 71.3 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.008161, allocations: 142.7 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.008577, allocations: 163.6 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.00909, allocations: 0.5484 MB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.009362, allocations: 118.3 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.009772, allocations: 311.3 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.009971, allocations: 167.4 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.01003, allocations: 48 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.0101, allocations: 48 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.01018, allocations: 107.6 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.01029, allocations: 163.6 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.0106, allocations: 358.6 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.0106, allocations: 0 / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0106, allocations: 4 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.01061, allocations: 0 / 279.9 MB, free: 10.61 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.0008032/0.01141, allocations: 0.8935 MB / 280.8 MB, free: 9.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.01144, allocations: 11.98 kB / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.0116, allocations: 104.6 kB / 280.9 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.01186, allocations: 292.3 kB / 281.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.01188, allocations: 29.38 kB / 281.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.01193, allocations: 40.38 kB / 281.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.01238, allocations: 326.1 kB / 281.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.0124, allocations: 192 / 281.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.01243, allocations: 24.11 kB / 281.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.01244, allocations: 12 kB / 281.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.01261, allocations: 106.8 kB / 281.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.01403, allocations: 1.409 MB / 283.1 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.01426, allocations: 163.3 kB / 283.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.01441, allocations: 108.1 kB / 283.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.01444, allocations: 8.234 kB / 283.4 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.01467, allocations: 209.9 kB / 283.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/0.01467, allocations: 0 / 283.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007632/0.01544, allocations: 376.8 kB / 284 MB, free: 6.289 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.01549, allocations: 106.8 kB / 284.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.0157, allocations: 342 kB / 284.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.01572, allocations: 33.7 kB / 284.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01584, allocations: 271.4 kB / 284.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.0159, allocations: 103.1 kB / 284.8 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.219e-05/0.01598, allocations: 79.62 kB / 284.9 MB, free: 5.309 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.01611, allocations: 0.5156 MB / 285.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.01616, allocations: 36.72 kB / 285.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.0163, allocations: 244.9 kB / 285.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.01651, allocations: 282 kB / 286 MB, free: 4.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.01651, allocations: 0 / 286 MB, free: 4.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003177/0.01683, allocations: 298.4 kB / 286.3 MB, free: 3.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.01685, allocations: 11.12 kB / 286.3 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01685, allocations: 4 kB / 286.3 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.01703, allocations: 67.55 kB / 286.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.01716, allocations: 67.84 kB / 286.4 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.01837, allocations: 2.229 MB / 288.6 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.0185, allocations: 35.78 kB / 288.7 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.01852, allocations: 19.94 kB / 288.7 MB, free: 1.227 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.0001243/0.01864, allocations: 188.4 kB / 288.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.01868, allocations: 39.81 kB / 288.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.01873, allocations: 43.89 kB / 289 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01874, allocations: 4 kB / 289 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.01874, allocations: 0 / 289 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01874, allocations: 0 / 289 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.01917, allocations: 449.4 kB / 289.4 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.01917, allocations: 4 kB / 289.4 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.01926, allocations: 27.92 kB / 289.4 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.01939, allocations: 71.58 kB / 289.5 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.01941, allocations: 8 kB / 289.5 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.02048, allocations: 2.212 MB / 291.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.02048, allocations: 3.938 kB / 291.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.02086, allocations: 349.4 kB / 292.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.02095, allocations: 63.61 kB / 292.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.02098, allocations: 16 kB / 292.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.02106, allocations: 11.98 kB / 292.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.02111, allocations: 35.88 kB / 292.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.02112, allocations: 7.984 kB / 292.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.02123, allocations: 214.9 kB / 292.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02123, allocations: 0 / 292.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003411/0.02157, allocations: 115.8 kB / 292.5 MB, free: 13.2 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: 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.0001093/0.02168, allocations: 115.4 kB / 292.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.02205, allocations: 389.3 kB / 293 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02205, allocations: 0 / 293 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.02224, allocations: 297.3 kB / 293.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.02247, allocations: 61.12 kB / 293.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.02351, allocations: 0.6863 MB / 294 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.243e-05/0.02358, allocations: 108.6 kB / 294.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.319e-05/0.02366, allocations: 35.09 kB / 294.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.02379, allocations: 134.2 kB / 294.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02379, allocations: 0 / 294.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of Templates: time 0.007179/0.03097, allocations: 4.944 MB / 299.3 MB, free: 6.477 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7836773758754134]