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.001267/0.001267, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.0014/0.0014, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001628/0.001628, allocations: 43.92 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2317, allocations: 53.38 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005361/0.2371, allocations: 3.749 MB / 436.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.2393, allocations: 1.095 MB / 437.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.2396, allocations: 19.88 kB / 437.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.2399, allocations: 111.1 kB / 437.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008439/0.2408, allocations: 246.6 kB / 437.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.2412, allocations: 163.6 kB / 437.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.2423, allocations: 0.965 MB / 438.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/0.2429, allocations: 351.5 kB / 439.1 MB, free: 208 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006196/0.2435, allocations: 426.6 kB / 439.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008377/0.2444, allocations: 0.5058 MB / 440 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.2446, allocations: 104 kB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.2448, allocations: 104 kB / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.2451, allocations: 283.1 kB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005863/0.2457, allocations: 477.8 kB / 441 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.2471, allocations: 1.309 MB / 442.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2471, allocations: 0 / 442.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2471, allocations: 0 / 442.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.121e-05/0.2471, allocations: 0 / 442.3 MB, free: 13.02 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.002661/0.2498, allocations: 1.33 MB / 443.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2498, allocations: 12.03 kB / 443.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.2503, allocations: 128.3 kB / 443.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2514, allocations: 0.6009 MB / 444.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.2515, allocations: 53.25 kB / 444.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.2516, allocations: 60 kB / 444.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2531, allocations: 0.9189 MB / 445.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.2531, allocations: 3.953 kB / 445.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-05/0.2532, allocations: 32 kB / 445.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/0.2533, allocations: 29.3 kB / 445.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.2547, allocations: 0.7936 MB / 446.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004683/0.2594, allocations: 2.737 MB / 449 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.2603, allocations: 0.4907 MB / 449.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/0.2608, allocations: 309.3 kB / 449.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.2609, allocations: 8.312 kB / 449.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006465/0.2615, allocations: 381.8 kB / 450.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.445e-06/0.2615, allocations: 0 / 450.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002768/0.2643, allocations: 1.123 MB / 451.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.2644, allocations: 110.6 kB / 451.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008207/0.2652, allocations: 0.584 MB / 452 MB, free: 3.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.2652, allocations: 33.7 kB / 452 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.2656, allocations: 380.6 kB / 452.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.2657, allocations: 142.8 kB / 452.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.2659, allocations: 90.14 kB / 452.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.266, allocations: 370.7 kB / 453 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.2665, allocations: 224.8 kB / 453.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.267, allocations: 357.1 kB / 453.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008884/0.2679, allocations: 0.5699 MB / 454.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2679, allocations: 0 / 454.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001352/0.2692, allocations: 0.7516 MB / 454.8 MB, free: 36 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2692, allocations: 8 kB / 454.9 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2693, allocations: 4 kB / 454.9 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/0.2698, allocations: 200.7 kB / 455.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.2701, allocations: 76 kB / 455.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/0.2736, allocations: 2.843 MB / 458 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.274, allocations: 51.75 kB / 458 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.274, allocations: 20 kB / 458 MB, free: 12.72 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.0005122/0.2746, allocations: 329.5 kB / 458.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.2747, allocations: 55.67 kB / 458.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.2748, allocations: 73.42 kB / 458.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2748, allocations: 4 kB / 458.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2748, allocations: 7.938 kB / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2749, allocations: 0 / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.2776, allocations: 1.607 MB / 460.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2776, allocations: 0 / 460.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.2778, allocations: 47.91 kB / 460.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.2783, allocations: 192.8 kB / 460.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.2784, allocations: 11.98 kB / 460.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.2818, allocations: 2.816 MB / 463.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2818, allocations: 0 / 463.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.2835, allocations: 1.1 MB / 464.3 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/0.2839, allocations: 123.5 kB / 464.4 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.977e-05/0.284, allocations: 8 kB / 464.4 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.2843, allocations: 31.97 kB / 464.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.2844, allocations: 51.62 kB / 464.5 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.2845, allocations: 12 kB / 464.5 MB, free: 6.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006053/0.2851, allocations: 430.8 kB / 464.9 MB, free: 5.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2851, allocations: 0 / 464.9 MB, free: 5.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007633/0.2858, allocations: 207.5 kB / 465.1 MB, free: 5.434 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.0001793/0.286, allocations: 127.3 kB / 465.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.2874, allocations: 0.7059 MB / 465.9 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2874, allocations: 4.062 kB / 465.9 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007339/0.2881, allocations: 466.2 kB / 466.4 MB, free: 4.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.2888, allocations: 147.8 kB / 466.5 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.2916, allocations: 1.506 MB / 468.1 MB, free: 2.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/0.2923, allocations: 1.062 MB / 469.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.2925, allocations: 43.44 kB / 469.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2925, allocations: 0 / 469.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of Templates: time 0.01926/0.3117, allocations: 13.14 MB / 482.3 MB, free: 4.199 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: 7.900870750891045]