Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 77.14 kB / 21.5 MB, free: 2.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 138.7 kB / 24.89 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8893/0.8893, allocations: 173.4 MB / 201.5 MB, free: 8.266 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 268.5 MB, free: 9.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.716e-05, allocations: 9.406 kB / 268.5 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004038/0.004065, allocations: 3.663 MB / 272.2 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.005796, allocations: 1.032 MB / 273.2 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.006013, allocations: 19.88 kB / 273.3 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.006225, allocations: 111.1 kB / 273.4 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006064/0.006832, allocations: 255.2 kB / 273.6 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.007107, allocations: 148.1 kB / 273.8 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007817/0.007889, allocations: 0.9764 MB / 274.7 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.008305, allocations: 343.3 kB / 275.1 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006405/0.008946, allocations: 0.6003 MB / 275.7 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006277/0.009573, allocations: 474.9 kB / 276.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.009705, allocations: 104 kB / 276.2 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.009815, allocations: 100 kB / 276.3 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.01, allocations: 299.1 kB / 276.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.01029, allocations: 327.2 kB / 276.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.01092, allocations: 0.7594 MB / 277.7 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01092, allocations: 3.938 kB / 277.7 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01092, allocations: 3.938 kB / 277.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.01094, allocations: 0 / 277.7 MB, free: 0.5117 MB / 250.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.0012/0.01214, allocations: 1.037 MB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.01218, allocations: 8.031 kB / 278.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.01233, allocations: 108.8 kB / 278.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.01281, allocations: 399.2 kB / 279.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.01285, allocations: 49.69 kB / 279.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.01292, allocations: 72.36 kB / 279.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.01351, allocations: 0.5412 MB / 279.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.01353, allocations: 7.891 kB / 279.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.01357, allocations: 28 kB / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/0.01361, allocations: 33.3 kB / 280 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.01386, allocations: 161 kB / 280.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.01566, allocations: 1.709 MB / 281.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.01593, allocations: 229.9 kB / 282.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.01608, allocations: 113.5 kB / 282.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.01611, allocations: 12.33 kB / 282.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.01636, allocations: 239.6 kB / 282.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.01636, allocations: 0 / 282.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009574/0.01732, allocations: 476.2 kB / 282.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.01737, allocations: 110.8 kB / 283 MB, free: 10.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.01764, allocations: 403.2 kB / 283.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.01767, allocations: 41.69 kB / 283.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.0178, allocations: 301.5 kB / 283.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.01788, allocations: 150.8 kB / 283.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.01797, allocations: 90.08 kB / 284 MB, free: 10 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.01807, allocations: 366.6 kB / 284.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.01813, allocations: 36.98 kB / 284.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.01827, allocations: 217.8 kB / 284.6 MB, free: 9.328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.0185, allocations: 270.5 kB / 284.8 MB, free: 9.008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.0185, allocations: 0 / 284.8 MB, free: 9.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003602/0.01886, allocations: 312.6 kB / 285.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01888, allocations: 11.94 kB / 285.2 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01889, allocations: 4 kB / 285.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.01911, allocations: 96.05 kB / 285.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.01928, allocations: 83.88 kB / 285.3 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.02066, allocations: 1.878 MB / 287.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.02082, allocations: 39.91 kB / 287.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.02083, allocations: 12 kB / 287.3 MB, free: 6.469 MB / 266.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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.02098, allocations: 156.4 kB / 287.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.02104, allocations: 55.88 kB / 287.5 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.0211, allocations: 65.2 kB / 287.5 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.0211, allocations: 4 kB / 287.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.02111, allocations: 0 / 287.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.02111, allocations: 11.92 kB / 287.5 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008592/0.02197, allocations: 0.7612 MB / 288.3 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02198, allocations: 4 kB / 288.3 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.0221, allocations: 47.94 kB / 288.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.02227, allocations: 86.36 kB / 288.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.02229, allocations: 7.984 kB / 288.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.02346, allocations: 1.835 MB / 290.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.02346, allocations: 0 / 290.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.02393, allocations: 467 kB / 290.7 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.02405, allocations: 71.58 kB / 290.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.02409, allocations: 27.81 kB / 290.8 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.02421, allocations: 15.98 kB / 290.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.02428, allocations: 35.94 kB / 290.9 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.0243, allocations: 11.98 kB / 290.9 MB, free: 2.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.02443, allocations: 176.4 kB / 291.1 MB, free: 2.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02443, allocations: 0 / 291.1 MB, free: 2.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004338/0.02487, allocations: 207.5 kB / 291.3 MB, free: 2.293 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001206/0.02499, allocations: 100.3 kB / 291.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.02543, allocations: 403.4 kB / 291.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.02544, allocations: 8 kB / 291.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.02569, allocations: 308.1 kB / 292.1 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.02604, allocations: 149.9 kB / 292.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.02777, allocations: 1.333 MB / 293.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.02791, allocations: 210.1 kB / 293.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.02805, allocations: 60.66 kB / 293.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.02828, allocations: 165.3 kB / 294 MB, free: 15.48 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02828, allocations: 0 / 294 MB, free: 15.48 MB / 282.7 MB Notification: Performance of Templates: time 0.01277/0.04105, allocations: 10.12 MB / 304.1 MB, free: 5.605 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.697976623196155]