Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008443/0.0008443, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004344/0.004344, allocations: 163.1 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8604/0.8604, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.919e-05, allocations: 2.281 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003421/0.00345, allocations: 3.46 MB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.004903, allocations: 1.036 MB / 330.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.005098, allocations: 19.88 kB / 330.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.005318, allocations: 115 kB / 330.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006078/0.005926, allocations: 254.3 kB / 330.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.006171, allocations: 155.6 kB / 330.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009242/0.007095, allocations: 1.003 MB / 331.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.007462, allocations: 343.5 kB / 332.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.007965, allocations: 0.6003 MB / 332.8 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.008405, allocations: 454.9 kB / 333.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.051e-05/0.008486, allocations: 104 kB / 333.4 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.008608, allocations: 104 kB / 333.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.008773, allocations: 291.1 kB / 333.8 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.008997, allocations: 327.3 kB / 334.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008551/0.009852, allocations: 1.328 MB / 335.4 MB, free: 5.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.009856, allocations: 0 / 335.4 MB, free: 5.797 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.009857, allocations: 0 / 335.4 MB, free: 5.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.009869, allocations: 0 / 335.4 MB, free: 5.797 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001831/0.0117, allocations: 1.323 MB / 336.7 MB, free: 4.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.01174, allocations: 8.031 kB / 336.7 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/0.01202, allocations: 124.3 kB / 336.9 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006859/0.01271, allocations: 0.604 MB / 337.5 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.01274, allocations: 49.69 kB / 337.5 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.01282, allocations: 64.38 kB / 337.6 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.01388, allocations: 0.944 MB / 338.5 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.0139, allocations: 3.953 kB / 338.5 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003333/0.01424, allocations: 28 kB / 338.5 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.01427, allocations: 33.3 kB / 338.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008301/0.0151, allocations: 0.7974 MB / 339.4 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.01759, allocations: 2.419 MB / 341.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.01814, allocations: 491.5 kB / 342.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.01851, allocations: 319.8 kB / 342.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.01854, allocations: 8.266 kB / 342.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.01899, allocations: 419.2 kB / 343 MB, free: 13.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.156e-06/0.019, allocations: 0 / 343 MB, free: 13.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001711/0.02071, allocations: 1.119 MB / 344.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.02077, allocations: 110.8 kB / 344.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.02132, allocations: 0.5722 MB / 344.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.02135, allocations: 37.7 kB / 344.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.02158, allocations: 372.6 kB / 345.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.532e-05/0.02166, allocations: 134.8 kB / 345.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.02176, allocations: 90.14 kB / 345.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004241/0.02219, allocations: 370.8 kB / 345.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.02242, allocations: 220.8 kB / 346 MB, free: 10.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.02275, allocations: 382.8 kB / 346.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.0233, allocations: 0.5706 MB / 346.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.02331, allocations: 0 / 346.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008125/0.02412, allocations: 0.7549 MB / 347.7 MB, free: 9.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.02414, allocations: 8 kB / 347.7 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.02415, allocations: 4 kB / 347.7 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.0245, allocations: 205.2 kB / 347.9 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.0247, allocations: 79.83 kB / 348 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.02684, allocations: 2.778 MB / 350.8 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.0271, allocations: 47.81 kB / 350.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.02713, allocations: 23.98 kB / 350.8 MB, free: 5.832 MB / 314.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: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003774/0.0275, allocations: 337.4 kB / 351.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.02757, allocations: 55.62 kB / 351.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/0.02766, allocations: 73.39 kB / 351.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.02766, allocations: 8 kB / 351.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.02767, allocations: 0 / 351.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.02767, allocations: 4 kB / 351.3 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.02913, allocations: 1.436 MB / 352.7 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02913, allocations: 4 kB / 352.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.0293, allocations: 43.94 kB / 352.8 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.02956, allocations: 196.7 kB / 353 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.02959, allocations: 15.94 kB / 353 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.03155, allocations: 2.763 MB / 355.8 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.03156, allocations: 3.938 kB / 355.8 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.03263, allocations: 1.088 MB / 356.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.03283, allocations: 123.5 kB / 357 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.03287, allocations: 16 kB / 357 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.03303, allocations: 31.91 kB / 357 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.03314, allocations: 43.92 kB / 357.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.03316, allocations: 15.92 kB / 357.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003552/0.03351, allocations: 418.8 kB / 357.5 MB, free: 15 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.03351, allocations: 0 / 357.5 MB, free: 15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005715/0.03409, allocations: 211.5 kB / 357.7 MB, free: 14.79 MB / 330.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.03423, allocations: 119.9 kB / 357.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008652/0.0351, allocations: 0.694 MB / 358.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.0351, allocations: 320 / 358.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.03551, allocations: 474 kB / 359 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.03598, allocations: 141.3 kB / 359.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.03826, allocations: 1.458 MB / 360.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.03859, allocations: 478.2 kB / 361 MB, free: 11.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.03869, allocations: 40.48 kB / 361.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.03869, allocations: 4 kB / 361.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of Templates: time 0.01379/0.05248, allocations: 13.28 MB / 374.4 MB, free: 14.07 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.090158898383379]