Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008823/0.0008823, allocations: 179.2 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.6 MB / 223.7 MB, free: 8.969 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007229/0.0007229, allocations: 94.36 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002275/0.0002275, allocations: 7.984 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2004, allocations: 47.57 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.00943/0.2099, allocations: 12.94 MB / 389.5 MB, free: 35.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.2279, allocations: 20.18 MB / 409.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.2304, allocations: 27.81 kB / 409.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003082/0.2335, allocations: 1.096 MB / 410.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007203/0.2408, allocations: 1.938 MB / 412.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.2446, allocations: 1.153 MB / 413.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008503/0.2531, allocations: 6.155 MB / 420.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000679/0.2538, allocations: 446.1 kB / 420.5 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009769/0.2548, allocations: 0.9363 MB / 421.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007336/0.2556, allocations: 1.09 MB / 422.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.2557, allocations: 40 kB / 422.6 MB, free: 2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.2588, allocations: 1.081 MB / 423.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.2591, allocations: 305.5 kB / 424 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.2602, allocations: 1.43 MB / 425.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004268/0.2645, allocations: 3.84 MB / 429.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2645, allocations: 4 kB / 429.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2645, allocations: 0 / 429.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.494e-05/0.2646, allocations: 0 / 429.2 MB, free: 11.31 MB / 314.7 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.004554/0.2691, allocations: 3.358 MB / 432.6 MB, free: 7.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2692, allocations: 8.031 kB / 432.6 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.2696, allocations: 422.8 kB / 433 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/0.2729, allocations: 2.499 MB / 435.5 MB, free: 4.879 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.2729, allocations: 44.92 kB / 435.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2731, allocations: 52 kB / 435.6 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.2744, allocations: 0.746 MB / 436.4 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2744, allocations: 4 kB / 436.4 MB, free: 4.031 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.2745, allocations: 20 kB / 436.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.2745, allocations: 23.98 kB / 436.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.2761, allocations: 0.8593 MB / 437.3 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.2809, allocations: 3.141 MB / 440.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.2821, allocations: 0.6259 MB / 441 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009644/0.2831, allocations: 0.6611 MB / 441.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02715/0.3102, allocations: 30.23 MB / 471.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007312/0.311, allocations: 385.6 kB / 472.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/0.311, allocations: 0 / 472.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.002406/0.3134, allocations: 1.175 MB / 473.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.3135, allocations: 59.41 kB / 473.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003398/0.3169, allocations: 3.064 MB / 476.6 MB, free: 7.555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.038e-05/0.317, allocations: 33.7 kB / 476.6 MB, free: 7.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.3184, allocations: 1.588 MB / 478.2 MB, free: 5.914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.3185, allocations: 165.7 kB / 478.4 MB, free: 5.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.3186, allocations: 16 kB / 478.4 MB, free: 5.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3187, allocations: 345.9 kB / 478.7 MB, free: 5.391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.3193, allocations: 261.9 kB / 479 MB, free: 5.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/0.3201, allocations: 0.6138 MB / 479.6 MB, free: 4.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.3214, allocations: 0.9365 MB / 480.5 MB, free: 3.242 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.3215, allocations: 7.938 kB / 480.5 MB, free: 3.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002118/0.3236, allocations: 1.296 MB / 481.8 MB, free: 1.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3236, allocations: 12 kB / 481.9 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/0.3237, allocations: 83.98 kB / 481.9 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.3237, allocations: 16 kB / 481.9 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/0.3244, allocations: 211.7 kB / 482.2 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.3245, allocations: 27.92 kB / 482.2 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/0.3254, allocations: 123 kB / 482.3 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.3255, allocations: 64 kB / 482.4 MB, free: 1.398 MB / 362.7 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 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * 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.0007481/0.3263, allocations: 457.4 kB / 482.8 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003314/0.3267, allocations: 399.1 kB / 483.2 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.3294, allocations: 1.262 MB / 484.5 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.3294, allocations: 4 kB / 484.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3294, allocations: 0 / 484.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3294, allocations: 3.984 kB / 484.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.3324, allocations: 2.19 MB / 486.7 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.129e-05/0.3326, allocations: 76.06 kB / 486.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.333, allocations: 103.8 kB / 486.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3331, allocations: 4 kB / 486.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.3331, allocations: 28 kB / 486.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3331, allocations: 8 kB / 486.9 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3331, allocations: 0 / 486.9 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.3352, allocations: 1.4 MB / 488.3 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/0.3358, allocations: 496 kB / 488.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.3361, allocations: 12 kB / 488.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006721/0.3368, allocations: 40.03 kB / 488.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.337, allocations: 59.94 kB / 488.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/0.3371, allocations: 43.92 kB / 488.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002421/0.3395, allocations: 1.98 MB / 490.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3395, allocations: 0 / 490.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001244/0.3408, allocations: 0.5973 MB / 491.5 MB, free: 8.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/0.3418, allocations: 0.7822 MB / 492.3 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.3434, allocations: 0.8456 MB / 493.1 MB, free: 6.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3434, allocations: 4.062 kB / 493.1 MB, free: 6.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007261/0.3441, allocations: 471.3 kB / 493.6 MB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.3461, allocations: 0.4993 MB / 494.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/0.3528, allocations: 5.515 MB / 499.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.3539, allocations: 1.718 MB / 0.4896 GB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001279/0.3552, allocations: 361.4 kB / 0.4899 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.3554, allocations: 155.4 kB / 0.4901 GB, free: 13.67 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3554, allocations: 0 / 0.4901 GB, free: 13.67 MB / 394.7 MB Notification: Performance of Templates: time 0.1894/0.5448, allocations: 30.89 MB / 0.5202 GB, free: 118.9 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches