Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.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.001814/0.001814, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002169/0.002169, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inverter.ac.v|inverter.ac.i|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inverter.ac.v|inverter.ac.i|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2166, allocations: 53.31 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.006582/0.2232, allocations: 5.148 MB / 437.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.2257, allocations: 1.599 MB / 438.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.226, allocations: 19.88 kB / 438.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.2264, allocations: 142.5 kB / 439 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004613/0.2268, allocations: 218 kB / 439.2 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008008/0.2276, allocations: 427.2 kB / 439.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.2287, allocations: 1.091 MB / 440.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.2292, allocations: 286.5 kB / 441 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.2297, allocations: 402.4 kB / 441.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.2302, allocations: 445.9 kB / 441.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.2303, allocations: 104 kB / 441.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.2305, allocations: 116 kB / 442.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.2307, allocations: 223.2 kB / 442.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.2312, allocations: 465.6 kB / 442.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.2323, allocations: 1.156 MB / 443.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2323, allocations: 0 / 443.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2323, allocations: 4 kB / 443.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.2323, allocations: 3.938 kB / 443.9 MB, free: 11.53 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002579/0.2349, allocations: 1.519 MB / 445.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.235, allocations: 8.031 kB / 445.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.2356, allocations: 156.2 kB / 445.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.2367, allocations: 0.6227 MB / 446.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.2367, allocations: 58.38 kB / 446.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.2369, allocations: 72.36 kB / 446.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.2382, allocations: 0.7579 MB / 447.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.2383, allocations: 7.938 kB / 447.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/0.2383, allocations: 31.98 kB / 447.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.2384, allocations: 20 kB / 447.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2396, allocations: 0.5594 MB / 447.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.2436, allocations: 2.63 MB / 450.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.2448, allocations: 0.5466 MB / 450.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005779/0.2454, allocations: 258.4 kB / 451.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.2455, allocations: 16.5 kB / 451.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000834/0.2463, allocations: 442.7 kB / 451.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 1.954e-06/0.2463, allocations: 4 kB / 451.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.003344/0.2496, allocations: 1.215 MB / 452.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.2497, allocations: 119.4 kB / 452.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.2504, allocations: 0.5783 MB / 453.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/0.2505, allocations: 45.7 kB / 453.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.2508, allocations: 353 kB / 453.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.2509, allocations: 210.3 kB / 454.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.2511, allocations: 134.6 kB / 454.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.2513, allocations: 382.8 kB / 454.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.2519, allocations: 240.7 kB / 454.8 MB, free: 236 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/0.2526, allocations: 414.1 kB / 455.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.2537, allocations: 0.6388 MB / 455.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2537, allocations: 0 / 455.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001619/0.2554, allocations: 0.8408 MB / 456.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.2554, allocations: 36.67 kB / 456.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2554, allocations: 7.938 kB / 456.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004698/0.2559, allocations: 148.8 kB / 456.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.2564, allocations: 119.7 kB / 457 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.2595, allocations: 2.56 MB / 459.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.26, allocations: 91.48 kB / 459.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.26, allocations: 31.98 kB / 459.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007021/0.2607, allocations: 382 kB / 460.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006475/0.2614, allocations: 406.1 kB / 460.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001088/0.2624, allocations: 0.6115 MB / 461.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.578e-06/0.2624, allocations: 7.938 kB / 461.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.001536/0.264, allocations: 0.8135 MB / 461.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.264, allocations: 37.7 kB / 461.9 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.264, allocations: 4 kB / 461.9 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004077/0.2644, allocations: 156.9 kB / 462.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.2649, allocations: 111.8 kB / 462.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.2679, allocations: 2.551 MB / 464.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.2684, allocations: 79.64 kB / 464.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.2684, allocations: 31.98 kB / 464.9 MB, free: 5.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveCurrent.mean2.y_last,$PRE.fundamentalWaveCurrent.mean2.y_last,fundamentalWaveCurrent.mean1.y_last,$PRE.fundamentalWaveCurrent.mean1.y_last,fundamentalWaveVoltage.mean2.y_last,$PRE.fundamentalWaveVoltage.mean2.y_last,fundamentalWaveVoltage.mean1.y_last,$PRE.fundamentalWaveVoltage.mean1.y_last,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,inverter.diode_n.off,inverter.transistor_n.off,inverter.diode_p.off,inverter.transistor_p.off,inverter.andCondition_n.y,inverter.andCondition_p.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002266/0.2686, allocations: 240 kB / 465.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.2688, allocations: 79.52 kB / 465.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.2704, allocations: 0.749 MB / 465.9 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.2704, allocations: 4.078 kB / 465.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2705, allocations: 4 kB / 465.9 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.2707, allocations: 216.4 kB / 466.1 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.2708, allocations: 19.98 kB / 466.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.2713, allocations: 51.83 kB / 466.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.2714, allocations: 48.5 kB / 466.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002128/0.2735, allocations: 0.8508 MB / 467.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001992/0.2755, allocations: 1.12 MB / 468.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005355/0.276, allocations: 256.3 kB / 468.5 MB, free: 1.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004704/0.2765, allocations: 407.1 kB / 468.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of Backend: time 2.5e-07/0.2765, allocations: 0 / 468.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.279, allocations: 1.298 MB / 470.2 MB, free: 164 kB / 366.1 MB Notification: Performance of SimCode: time 0.00238/0.2814, allocations: 1.856 MB / 472 MB, free: 14.25 MB / 382.1 MB Notification: Performance of Templates: time 0.02373/0.3051, allocations: 14.29 MB / 486.3 MB, free: 120 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.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.604435738641769]