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.0008237/0.0008237, allocations: 84 kB / 21.43 MB, free: 3.133 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.003014/0.003014, allocations: 140.6 kB / 24.68 MB, free: 8.898 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.8093/0.8093, allocations: 173.4 MB / 201.2 MB, free: 9.461 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.462e-06/1.462e-06, allocations: 0 / 319.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.87e-05, allocations: 2.281 kB / 319.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.003565/0.003584, allocations: 4.145 MB / 323.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.005238, allocations: 1.196 MB / 325.1 MB, free: 376 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.005484, allocations: 31.75 kB / 325.1 MB, free: 344 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.005732, allocations: 174.6 kB / 325.3 MB, free: 168 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.00642, allocations: 373.6 kB / 325.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.006686, allocations: 199.5 kB / 325.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.007743, allocations: 1.653 MB / 327.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005398/0.008283, allocations: 0.5715 MB / 328 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008123/0.009095, allocations: 1.002 MB / 329 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007775/0.009873, allocations: 0.7871 MB / 329.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.01003, allocations: 176 kB / 330 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.01019, allocations: 176 kB / 330.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.01046, allocations: 0.4946 MB / 330.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.01083, allocations: 0.5379 MB / 331.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.01215, allocations: 2.306 MB / 333.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.01215, allocations: 0 / 333.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01215, allocations: 0 / 333.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.01218, allocations: 4 kB / 333.5 MB, free: 7.844 MB / 298.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.002066/0.01424, allocations: 2.014 MB / 335.5 MB, free: 5.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.01427, allocations: 8.922 kB / 335.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.01442, allocations: 160 kB / 335.7 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009492/0.01537, allocations: 0.9352 MB / 336.6 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.01541, allocations: 86.42 kB / 336.7 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/0.01551, allocations: 100.4 kB / 336.8 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.01712, allocations: 1.583 MB / 338.4 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.01714, allocations: 3.938 kB / 338.4 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/0.01721, allocations: 47.94 kB / 338.4 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.01724, allocations: 38.05 kB / 338.5 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.01864, allocations: 1.444 MB / 339.9 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.02244, allocations: 4.303 MB / 344.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/0.02331, allocations: 0.9344 MB / 345.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007184/0.02403, allocations: 0.6848 MB / 345.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.02406, allocations: 12.66 kB / 345.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005967/0.02466, allocations: 0.6374 MB / 346.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 1.853e-06/0.02466, allocations: 0 / 346.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.00317/0.02783, allocations: 2.348 MB / 348.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003008/0.02813, allocations: 89.77 kB / 348.9 MB, free: 8.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.02882, allocations: 0.9029 MB / 349.8 MB, free: 7.125 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.02886, allocations: 41.7 kB / 349.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.02911, allocations: 0.528 MB / 350.4 MB, free: 6.543 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.02924, allocations: 241.9 kB / 350.6 MB, free: 6.305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.02937, allocations: 134.7 kB / 350.8 MB, free: 6.168 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.02945, allocations: 330 kB / 351.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.02985, allocations: 413.7 kB / 351.5 MB, free: 5.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.03034, allocations: 0.5698 MB / 352.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/0.03119, allocations: 0.9561 MB / 353 MB, free: 3.793 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.0312, allocations: 4 kB / 353 MB, free: 3.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001233/0.03243, allocations: 1.279 MB / 354.3 MB, free: 2.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.03245, allocations: 15.88 kB / 354.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.03245, allocations: 4 kB / 354.3 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.03299, allocations: 403.5 kB / 354.7 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.03324, allocations: 111.9 kB / 354.8 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.03681, allocations: 4.321 MB / 359.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.03705, allocations: 79.64 kB / 359.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.03708, allocations: 27.98 kB / 359.3 MB, free: 13.44 MB / 330.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.0003964/0.03748, allocations: 499.4 kB / 359.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.03755, allocations: 91.44 kB / 359.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.03766, allocations: 116.2 kB / 359.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.03767, allocations: 7.984 kB / 360 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.03767, allocations: 12.06 kB / 360 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.03768, allocations: 0 / 360 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.03983, allocations: 2.271 MB / 362.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.03983, allocations: 0 / 362.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.04004, allocations: 87.88 kB / 362.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004571/0.0405, allocations: 384.5 kB / 362.7 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.04053, allocations: 12 kB / 362.7 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.04388, allocations: 4.294 MB / 367 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.04388, allocations: 0 / 367 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.04562, allocations: 1.948 MB / 369 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.04587, allocations: 219.2 kB / 369.2 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.847e-05/0.04593, allocations: 15.94 kB / 369.2 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.04614, allocations: 43.95 kB / 369.2 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.04626, allocations: 80.5 kB / 369.3 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.04629, allocations: 24.11 kB / 369.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005171/0.04681, allocations: 0.6473 MB / 370 MB, free: 2.543 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04681, allocations: 0 / 370 MB, free: 2.543 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005719/0.04738, allocations: 351.2 kB / 370.3 MB, free: 2.199 MB / 330.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.0003887/0.04777, allocations: 131.1 kB / 370.4 MB, free: 2.062 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.04903, allocations: 1.245 MB / 371.7 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.04904, allocations: 0 / 371.7 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006879/0.04972, allocations: 0.7759 MB / 372.5 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.0503, allocations: 239 kB / 372.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.05299, allocations: 2.615 MB / 375.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.05348, allocations: 0.772 MB / 376.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.05361, allocations: 64.48 kB / 376.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.05361, allocations: 3.938 kB / 376.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of Templates: time 0.01586/0.06947, allocations: 22.32 MB / 398.5 MB, free: 6.012 MB / 362.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.699314807541668]