Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 110.2 kB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 185.4 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 51.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2197, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01309/0.2328, allocations: 14.71 MB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02314/0.256, allocations: 20.67 MB / 436.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.2582, allocations: 91.25 kB / 436.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.2615, allocations: 1.244 MB / 438.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006796/0.2684, allocations: 2.317 MB / 440.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003964/0.2724, allocations: 1.439 MB / 441.9 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009717/0.2821, allocations: 6.493 MB / 448.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007329/0.2829, allocations: 457.1 kB / 448.8 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.2844, allocations: 1.108 MB / 449.9 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.2861, allocations: 1.106 MB / 451 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003197/0.2864, allocations: 76 kB / 451.1 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.2901, allocations: 1.475 MB / 452.6 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004437/0.2905, allocations: 333.5 kB / 452.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.2922, allocations: 1.366 MB / 454.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005153/0.2973, allocations: 3.787 MB / 458.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2974, allocations: 0 / 458.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2974, allocations: 0 / 458.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000114/0.2975, allocations: 4 kB / 458.1 MB, free: 15.96 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005989/0.3035, allocations: 3.805 MB / 461.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3035, allocations: 12.03 kB / 461.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005105/0.3041, allocations: 413.4 kB / 462.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/0.3075, allocations: 2.457 MB / 464.7 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.3076, allocations: 37 kB / 464.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.3077, allocations: 59.88 kB / 464.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3091, allocations: 0.7265 MB / 465.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3091, allocations: 0 / 465.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.3092, allocations: 20 kB / 465.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.3092, allocations: 23.98 kB / 465.6 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.3108, allocations: 0.8202 MB / 466.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/0.3158, allocations: 3.048 MB / 469.5 MB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.317, allocations: 0.5712 MB / 470 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000994/0.318, allocations: 0.6438 MB / 470.7 MB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02894/0.347, allocations: 30.13 MB / 0.4891 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007368/0.3477, allocations: 365.6 kB / 0.4894 GB, free: 488 kB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.725e-06/0.3477, allocations: 0 / 0.4894 GB, free: 488 kB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002286/0.35, allocations: 1.103 MB / 0.4905 GB, free: 15.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3501, allocations: 63.41 kB / 0.4906 GB, free: 15.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003704/0.3538, allocations: 2.935 MB / 0.4934 GB, free: 12.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.3539, allocations: 33.7 kB / 0.4935 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.3551, allocations: 1.506 MB / 0.4949 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.3553, allocations: 174.6 kB / 0.4951 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.3556, allocations: 230.3 kB / 0.4953 GB, free: 10.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3557, allocations: 337.9 kB / 0.4956 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.3563, allocations: 241.9 kB / 0.4959 GB, free: 9.816 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007984/0.3571, allocations: 0.602 MB / 0.4965 GB, free: 9.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.3585, allocations: 0.8896 MB / 0.4973 GB, free: 7.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.3585, allocations: 7.938 kB / 0.4973 GB, free: 7.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002092/0.3606, allocations: 1.255 MB / 0.4986 GB, free: 6.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3607, allocations: 8 kB / 0.4986 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.3608, allocations: 88.11 kB / 0.4987 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.3608, allocations: 20 kB / 0.4987 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.3615, allocations: 203.6 kB / 0.4989 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.3616, allocations: 23.92 kB / 0.4989 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.3625, allocations: 111.3 kB / 0.499 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.937e-05/0.3626, allocations: 64 kB / 0.4991 GB, free: 6.203 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006316/0.3633, allocations: 442.2 kB / 0.4995 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004098/0.3637, allocations: 397.5 kB / 0.4999 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.3663, allocations: 1.194 MB / 0.501 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3663, allocations: 4 kB / 0.501 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.804e-05/0.3664, allocations: 68 kB / 0.5011 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007158/0.3671, allocations: 490.4 kB / 0.5016 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/0.3675, allocations: 8 kB / 0.5016 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.3681, allocations: 31.97 kB / 0.5016 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.3683, allocations: 67.66 kB / 0.5017 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001692/0.37, allocations: 0.6773 MB / 0.5023 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00222/0.3722, allocations: 1.366 MB / 0.5037 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005452/0.3728, allocations: 236.8 kB / 0.5039 GB, free: 1.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002446/0.3752, allocations: 1.915 MB / 0.5058 GB, free: 15.27 MB / 446.1 MB Notification: Performance of Backend: time 1.853e-06/0.3753, allocations: 3.938 kB / 0.5058 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.3782, allocations: 1.492 MB / 0.5072 GB, free: 13.74 MB / 446.1 MB Notification: Performance of SimCode: time 0.007159/0.3853, allocations: 5.473 MB / 0.5126 GB, free: 8.176 MB / 446.1 MB Notification: Performance of Templates: time 0.229/0.6143, allocations: 34.52 MB / 0.5463 GB, free: 131.6 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches