Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.0008112/0.0008112, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.003288/0.003288, allocations: 155.5 kB / 24.7 MB, free: 8.895 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 0.8511/0.8511, allocations: 177 MB / 204.8 MB, free: 5.734 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.329e-05, allocations: 7.062 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003862/0.003885, allocations: 4.343 MB / 330.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.005535, allocations: 1.336 MB / 331.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.005783, allocations: 39.69 kB / 331.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.006311, allocations: 222.3 kB / 331.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005646/0.006876, allocations: 377.5 kB / 332.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.007159, allocations: 231.5 kB / 332.3 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.00818, allocations: 1.607 MB / 333.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005182/0.008698, allocations: 0.5515 MB / 334.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006758/0.009374, allocations: 0.9668 MB / 335.5 MB, free: 5.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/0.009983, allocations: 0.7014 MB / 336.2 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.01011, allocations: 164 kB / 336.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.01028, allocations: 172 kB / 336.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.01053, allocations: 454.7 kB / 336.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003381/0.01087, allocations: 0.4989 MB / 337.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.01214, allocations: 2.15 MB / 339.6 MB, free: 1.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01214, allocations: 4 kB / 339.6 MB, free: 1.488 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01214, allocations: 0 / 339.6 MB, free: 1.488 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.01216, allocations: 0 / 339.6 MB, free: 1.488 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001985/0.01415, allocations: 1.88 MB / 341.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.01418, allocations: 15.98 kB / 341.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.01448, allocations: 176 kB / 341.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.01539, allocations: 0.904 MB / 342.6 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.01543, allocations: 78.36 kB / 342.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.797e-05/0.01553, allocations: 96.38 kB / 342.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.01695, allocations: 1.501 MB / 344.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.01698, allocations: 11.88 kB / 344.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.01704, allocations: 39.98 kB / 344.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.01708, allocations: 49.92 kB / 344.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.01838, allocations: 1.288 MB / 345.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.02176, allocations: 3.761 MB / 349.4 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.02277, allocations: 1.012 MB / 350.4 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/0.02351, allocations: 0.6732 MB / 351.1 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.02354, allocations: 4.656 kB / 351.1 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005973/0.02414, allocations: 0.64 MB / 351.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 1.744e-06/0.02414, allocations: 0 / 351.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.003987/0.02813, allocations: 2.758 MB / 354.5 MB, free: 2.352 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.02819, allocations: 123.5 kB / 354.6 MB, free: 2.207 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.02883, allocations: 0.8012 MB / 355.4 MB, free: 1.398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.02887, allocations: 41.7 kB / 355.4 MB, free: 1.352 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.02913, allocations: 0.4929 MB / 355.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.02927, allocations: 245.9 kB / 356.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.02941, allocations: 138.6 kB / 356.3 MB, free: 480 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.02953, allocations: 394.7 kB / 356.7 MB, free: 76 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.02991, allocations: 393.7 kB / 357.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.03037, allocations: 0.6035 MB / 357.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.03117, allocations: 0.9209 MB / 358.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.03117, allocations: 0 / 358.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001211/0.03238, allocations: 1.282 MB / 359.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.0324, allocations: 8 kB / 359.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.03241, allocations: 7.938 kB / 359.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.03305, allocations: 477.4 kB / 360.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.03324, allocations: 87.89 kB / 360.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.03771, allocations: 5.387 MB / 365.8 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.038, allocations: 79.64 kB / 365.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.03803, allocations: 24 kB / 365.9 MB, free: 6.578 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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0004346/0.03846, allocations: 467.4 kB / 366.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.03854, allocations: 87.44 kB / 366.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.03865, allocations: 116.4 kB / 366.6 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.03865, allocations: 8.125 kB / 366.6 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.03866, allocations: 8 kB / 366.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.03866, allocations: 3.984 kB / 366.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.04102, allocations: 2.298 MB / 368.9 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.04102, allocations: 4 kB / 368.9 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.04117, allocations: 63.94 kB / 369 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/0.04174, allocations: 468.4 kB / 369.4 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.04177, allocations: 12 kB / 369.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004361/0.04613, allocations: 5.302 MB / 374.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.04614, allocations: 3.984 kB / 374.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.04777, allocations: 1.897 MB / 376.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.04802, allocations: 203.3 kB / 376.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/0.04807, allocations: 12 kB / 376.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.04827, allocations: 44.08 kB / 376.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.04839, allocations: 84.38 kB / 377 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.04842, allocations: 24 kB / 377 MB, free: 11.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000712/0.04913, allocations: 0.577 MB / 377.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04913, allocations: 0 / 377.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006023/0.04973, allocations: 347.2 kB / 377.9 MB, free: 10.41 MB / 346.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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.04987, allocations: 135.2 kB / 378 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.05113, allocations: 1.243 MB / 379.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.05114, allocations: 0 / 379.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006818/0.05182, allocations: 0.7899 MB / 380.1 MB, free: 8.215 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.05243, allocations: 251.5 kB / 380.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.05491, allocations: 2.349 MB / 382.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.05538, allocations: 0.7159 MB / 383.4 MB, free: 4.832 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.05549, allocations: 52.5 kB / 383.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05549, allocations: 0 / 383.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of Templates: time 0.01481/0.0703, allocations: 21.09 MB / 404.5 MB, free: 15.74 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 6.156250108964741]