Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 93.94 kB / 16.93 MB, free: 5.984 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.001053/0.001053, allocations: 180.7 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004863, allocations: 12 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 47.58 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01043/0.1115, allocations: 11.75 MB / 340.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02003/0.1316, allocations: 17.07 MB / 357.1 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.1336, allocations: 27.81 kB / 357.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003174/0.1368, allocations: 0.9796 MB / 358.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008223/0.145, allocations: 2.111 MB / 360.3 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.1495, allocations: 1.149 MB / 361.4 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.1607, allocations: 6.154 MB / 367.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009793/0.1617, allocations: 441 kB / 368 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.1635, allocations: 0.8473 MB / 368.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.1646, allocations: 1.029 MB / 369.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.1648, allocations: 44 kB / 369.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/0.1687, allocations: 1.207 MB / 371.1 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003362/0.169, allocations: 285.8 kB / 371.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000741/0.1698, allocations: 0.656 MB / 372 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.1726, allocations: 2.801 MB / 374.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1726, allocations: 0 / 374.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1727, allocations: 0 / 374.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.926e-05/0.1727, allocations: 3.938 kB / 374.9 MB, free: 5.406 MB / 318.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.005355/0.1781, allocations: 3.385 MB / 378.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1781, allocations: 8.031 kB / 378.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/0.1786, allocations: 414.9 kB / 378.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1686/0.3472, allocations: 2.302 MB / 381 MB, free: 51.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.3473, allocations: 34.22 kB / 381 MB, free: 51.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3474, allocations: 60.05 kB / 381 MB, free: 51.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.3488, allocations: 0.7428 MB / 381.8 MB, free: 51.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3488, allocations: 1.625 kB / 381.8 MB, free: 51.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.3489, allocations: 23.86 kB / 381.8 MB, free: 51.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.3489, allocations: 20.31 kB / 381.8 MB, free: 51.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.3509, allocations: 0.8653 MB / 382.7 MB, free: 51.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005526/0.3564, allocations: 3.106 MB / 385.8 MB, free: 50.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.3576, allocations: 0.6143 MB / 386.4 MB, free: 50.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02624/0.3839, allocations: 30.36 MB / 416.8 MB, free: 23.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006669/0.3846, allocations: 386.3 kB / 417.2 MB, free: 23.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.665e-06/0.3846, allocations: 0 / 417.2 MB, free: 23.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.002077/0.3867, allocations: 1.488 MB / 418.6 MB, free: 21.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.3867, allocations: 64.48 kB / 418.7 MB, free: 21.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/0.3895, allocations: 3.068 MB / 421.8 MB, free: 18.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.3896, allocations: 37.7 kB / 421.8 MB, free: 18.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008894/0.3905, allocations: 1.58 MB / 423.4 MB, free: 16.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3906, allocations: 166.9 kB / 423.6 MB, free: 16.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.3906, allocations: 19.94 kB / 423.6 MB, free: 16.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.3907, allocations: 341.9 kB / 423.9 MB, free: 16.24 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.3912, allocations: 265.8 kB / 424.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/0.3918, allocations: 0.6122 MB / 424.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/0.3924, allocations: 347.8 kB / 425.1 MB, free: 14.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.3924, allocations: 4 kB / 425.1 MB, free: 14.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001619/0.394, allocations: 1.284 MB / 426.4 MB, free: 13.58 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.394, allocations: 8 kB / 426.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-05/0.3941, allocations: 83.98 kB / 426.5 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.3941, allocations: 20 kB / 426.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.3948, allocations: 212.3 kB / 426.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.3948, allocations: 32.64 kB / 426.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/0.3957, allocations: 115.1 kB / 426.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.3958, allocations: 64 kB / 426.9 MB, free: 13.06 MB / 318.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 ($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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006299/0.3964, allocations: 449.5 kB / 427.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.3967, allocations: 407 kB / 427.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.3994, allocations: 1.281 MB / 429.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3995, allocations: 4.875 kB / 429.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3995, allocations: 0 / 429.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3995, allocations: 3.984 kB / 429.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.4024, allocations: 2.19 MB / 431.3 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.857e-05/0.4025, allocations: 71.98 kB / 431.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.4029, allocations: 103.9 kB / 431.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.4029, allocations: 3.188 kB / 431.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/0.403, allocations: 36.05 kB / 431.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.403, allocations: 4 kB / 431.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.403, allocations: 0 / 431.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.4049, allocations: 1.441 MB / 432.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006317/0.4056, allocations: 488 kB / 433.4 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.4059, allocations: 11.98 kB / 433.4 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.4065, allocations: 51.98 kB / 433.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.4067, allocations: 55.94 kB / 433.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.4067, allocations: 39.98 kB / 433.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001923/0.4087, allocations: 1.98 MB / 435.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4087, allocations: 4 kB / 435.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001199/0.4099, allocations: 0.6012 MB / 436.1 MB, free: 3.773 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008655/0.4108, allocations: 0.7389 MB / 436.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.4121, allocations: 0.8529 MB / 437.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4121, allocations: 0 / 437.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006153/0.4127, allocations: 463.6 kB / 438.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.414, allocations: 0.5077 MB / 438.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/0.4204, allocations: 5.131 MB / 443.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.4216, allocations: 1.781 MB / 445.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001297/0.4229, allocations: 361.4 kB / 445.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.4232, allocations: 151.4 kB / 446.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4232, allocations: 0 / 446.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of Templates: time 0.05163/0.4748, allocations: 29.27 MB / 475.4 MB, free: 12.56 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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