Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001261/0.001261, allocations: 89.53 kB / 20.69 MB, free: 1.02 MB / 14.72 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.001396/0.001396, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.515/1.515, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.454e-05, allocations: 5.375 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004988/0.005013, allocations: 3.445 MB / 328.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.007174, allocations: 1.046 MB / 329.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.007389, allocations: 23.84 kB / 329.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.00767, allocations: 110.9 kB / 329.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008089/0.008479, allocations: 256.9 kB / 329.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.00883, allocations: 160.8 kB / 330.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.01011, allocations: 1.006 MB / 331.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005697/0.01068, allocations: 343.5 kB / 331.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008438/0.01152, allocations: 0.6128 MB / 332 MB, free: 12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006827/0.0122, allocations: 446.5 kB / 332.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.01235, allocations: 104.8 kB / 332.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.01257, allocations: 102.9 kB / 332.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.01287, allocations: 294.2 kB / 332.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.01328, allocations: 327 kB / 333.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.01467, allocations: 1.326 MB / 334.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01468, allocations: 1.562 kB / 334.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01468, allocations: 0 / 334.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.0147, allocations: 4 kB / 334.6 MB, free: 10.37 MB / 302.1 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.002339/0.01704, allocations: 1.311 MB / 335.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.01707, allocations: 12.2 kB / 335.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004487/0.01752, allocations: 128.5 kB / 336 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.01854, allocations: 0.5982 MB / 336.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.01859, allocations: 48.53 kB / 336.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.0187, allocations: 67 kB / 336.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.02029, allocations: 0.949 MB / 337.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.02032, allocations: 3.953 kB / 337.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/0.0204, allocations: 31.98 kB / 337.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.02044, allocations: 29.31 kB / 337.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.02186, allocations: 0.7975 MB / 338.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.02579, allocations: 2.423 MB / 341 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/0.02667, allocations: 499.5 kB / 341.5 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.02727, allocations: 315.9 kB / 341.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.0273, allocations: 8.328 kB / 341.8 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007213/0.02803, allocations: 403.4 kB / 342.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.02803, allocations: 0 / 342.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003255/0.03128, allocations: 1.115 MB / 343.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.03139, allocations: 114.8 kB / 343.4 MB, free: 2.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/0.03227, allocations: 0.5722 MB / 344 MB, free: 1.785 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.03232, allocations: 33.7 kB / 344 MB, free: 1.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.03265, allocations: 372.6 kB / 344.4 MB, free: 1.375 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.03278, allocations: 146.8 kB / 344.5 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.03298, allocations: 94.14 kB / 344.6 MB, free: 1.133 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.03317, allocations: 366.7 kB / 345 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.03358, allocations: 220.8 kB / 345.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.03418, allocations: 382.9 kB / 345.6 MB, free: 112 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.03518, allocations: 0.5706 MB / 346.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.03518, allocations: 0 / 346.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001458/0.03664, allocations: 0.7549 MB / 346.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.03666, allocations: 11.98 kB / 346.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.03667, allocations: 4.5 kB / 346.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/0.03725, allocations: 208.2 kB / 347.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.0376, allocations: 67.91 kB / 347.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.04114, allocations: 2.782 MB / 350 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.04154, allocations: 51.8 kB / 350 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.04158, allocations: 12 kB / 350 MB, free: 11.48 MB / 318.1 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.000519/0.0421, allocations: 345.4 kB / 350.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/0.0422, allocations: 59.62 kB / 350.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.04234, allocations: 73.39 kB / 350.5 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.04234, allocations: 4 kB / 350.5 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.04234, allocations: 4 kB / 350.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.04235, allocations: 3.984 kB / 350.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.0447, allocations: 1.421 MB / 351.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.04471, allocations: 0 / 351.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.04496, allocations: 51.94 kB / 352 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.04542, allocations: 192.7 kB / 352.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.04546, allocations: 11.94 kB / 352.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.04909, allocations: 2.77 MB / 354.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.0491, allocations: 7.938 kB / 355 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.05095, allocations: 1.1 MB / 356.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.05123, allocations: 123.5 kB / 356.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.0513, allocations: 8 kB / 356.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.0516, allocations: 27.97 kB / 356.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.05173, allocations: 47.84 kB / 356.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.05177, allocations: 12 kB / 356.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005714/0.05234, allocations: 418.8 kB / 356.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.05234, allocations: 0 / 356.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008488/0.05319, allocations: 211.5 kB / 356.9 MB, free: 4.445 MB / 318.1 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.0002088/0.0534, allocations: 126.2 kB / 357 MB, free: 4.316 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.05488, allocations: 0.6981 MB / 357.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.05488, allocations: 4.062 kB / 357.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007952/0.05568, allocations: 466 kB / 358.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.05643, allocations: 142 kB / 358.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.05911, allocations: 1.435 MB / 359.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.05963, allocations: 482.2 kB / 360.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.05987, allocations: 92.69 kB / 360.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.05998, allocations: 48.42 kB / 360.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.05998, allocations: 0 / 360.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of Templates: time 0.01814/0.07812, allocations: 9.645 MB / 370 MB, free: 7.43 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.655090186744928]