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.00172/0.00172, allocations: 103.6 kB / 21.19 MB, free: 0.5156 MB / 14.72 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.002127/0.002127, allocations: 209.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001635/0.001635, allocations: 51.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2414, allocations: 53.38 MB / 432.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00518/0.2465, allocations: 3.438 MB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.2485, allocations: 1.04 MB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.2487, allocations: 15.88 kB / 436.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.249, allocations: 115.1 kB / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.2497, allocations: 250.6 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2501, allocations: 155.7 kB / 437.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.2511, allocations: 0.9613 MB / 438.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005127/0.2516, allocations: 347.4 kB / 438.7 MB, free: 376 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.2521, allocations: 430.5 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006844/0.2528, allocations: 0.498 MB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.253, allocations: 100 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.2532, allocations: 108 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.2534, allocations: 279.2 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004044/0.2538, allocations: 386.2 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.2551, allocations: 1.314 MB / 441.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2551, allocations: 0 / 441.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2551, allocations: 4 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.2551, allocations: 0 / 441.8 MB, free: 13.27 MB / 350.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.002332/0.2575, allocations: 1.326 MB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2575, allocations: 8.031 kB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.2579, allocations: 132.3 kB / 443.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.2591, allocations: 0.597 MB / 443.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.2591, allocations: 49.25 kB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.2592, allocations: 68 kB / 443.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.2607, allocations: 0.944 MB / 444.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.2608, allocations: 7.953 kB / 444.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-05/0.2608, allocations: 27.98 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/0.2609, allocations: 29.31 kB / 444.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.2622, allocations: 0.7975 MB / 445.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003968/0.2662, allocations: 2.425 MB / 448.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008404/0.267, allocations: 492.8 kB / 448.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.2676, allocations: 321.2 kB / 449 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.2677, allocations: 4.328 kB / 449 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006475/0.2683, allocations: 399.6 kB / 449.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.2683, allocations: 0 / 449.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002719/0.271, allocations: 1.115 MB / 450.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.2711, allocations: 114.6 kB / 450.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.2718, allocations: 0.5722 MB / 451.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.2719, allocations: 41.73 kB / 451.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.2722, allocations: 368.6 kB / 451.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.2723, allocations: 142.8 kB / 451.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.2724, allocations: 94.14 kB / 451.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2726, allocations: 366.8 kB / 452.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.273, allocations: 216.9 kB / 452.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.2735, allocations: 390.7 kB / 452.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/0.2744, allocations: 0.5738 MB / 453.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2744, allocations: 0 / 453.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001277/0.2757, allocations: 0.7475 MB / 454.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2757, allocations: 8 kB / 454.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.2757, allocations: 4 kB / 454.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005117/0.2762, allocations: 203.4 kB / 454.3 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.2765, allocations: 75.89 kB / 454.3 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/0.2799, allocations: 2.788 MB / 457.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.2803, allocations: 51.72 kB / 457.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.2803, allocations: 19.94 kB / 457.2 MB, free: 13.3 MB / 366.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.0004596/0.2808, allocations: 337.5 kB / 457.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.2809, allocations: 55.67 kB / 457.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.281, allocations: 61.41 kB / 457.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.281, allocations: 4 kB / 457.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.281, allocations: 8 kB / 457.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.281, allocations: 7.984 kB / 457.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.2836, allocations: 1.436 MB / 459.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2836, allocations: 3.984 kB / 459.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.2838, allocations: 39.92 kB / 459.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/0.2842, allocations: 200.7 kB / 459.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.2843, allocations: 16.08 kB / 459.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.2877, allocations: 2.761 MB / 462.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2877, allocations: 4 kB / 462.1 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.2894, allocations: 1.096 MB / 463.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.2897, allocations: 123.5 kB / 463.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.2898, allocations: 8 kB / 463.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.2901, allocations: 31.97 kB / 463.4 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.2902, allocations: 43.7 kB / 463.4 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.2903, allocations: 15.98 kB / 463.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005572/0.2908, allocations: 418.8 kB / 463.8 MB, free: 6.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2908, allocations: 0 / 463.8 MB, free: 6.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007251/0.2915, allocations: 203.5 kB / 464 MB, free: 6.27 MB / 366.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.0001628/0.2917, allocations: 119.4 kB / 464.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.293, allocations: 0.7088 MB / 464.9 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.293, allocations: 5 kB / 464.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007217/0.2937, allocations: 458.3 kB / 465.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.2944, allocations: 155.7 kB / 465.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.2969, allocations: 1.501 MB / 467 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.2974, allocations: 478.1 kB / 467.4 MB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2976, allocations: 39.44 kB / 467.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2976, allocations: 0 / 467.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of Templates: time 0.01876/0.3163, allocations: 13.29 MB / 480.8 MB, free: 5.492 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/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: 8.190840268973261]