Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.InvertersApartRecord,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.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_3.2.3_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.001093/0.001093, allocations: 95.45 kB / 16.93 MB, free: 5.98 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.00112/0.00112, allocations: 180.3 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.592/1.592, 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.0004657/0.0004658, allocations: 19.28 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09904, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01083/0.1099, allocations: 11.27 MB / 339.6 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02172/0.1317, allocations: 16.99 MB / 356.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.134, allocations: 27.81 kB / 356.6 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.1372, allocations: 0.9718 MB / 357.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008668/0.1459, allocations: 2.053 MB / 359.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00503/0.151, allocations: 1.153 MB / 360.8 MB, free: 3.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01107/0.1621, allocations: 6.084 MB / 366.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000991/0.1631, allocations: 420.5 kB / 367.3 MB, free: 13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.1647, allocations: 0.8239 MB / 368.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.1659, allocations: 0.994 MB / 369.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.1661, allocations: 47.94 kB / 369.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004194/0.1703, allocations: 1.203 MB / 370.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003598/0.1707, allocations: 277.9 kB / 370.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009451/0.1716, allocations: 0.6209 MB / 371.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.1747, allocations: 2.629 MB / 373.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1748, allocations: 0 / 373.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1748, allocations: 0 / 373.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.594e-05/0.1748, allocations: 4 kB / 373.9 MB, free: 6.383 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.005522/0.1804, allocations: 3.264 MB / 377.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1804, allocations: 8.031 kB / 377.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/0.1808, allocations: 399.1 kB / 377.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.1846, allocations: 2.262 MB / 379.8 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.1847, allocations: 37 kB / 379.8 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.1848, allocations: 59.89 kB / 379.9 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1758/0.3606, allocations: 0.7405 MB / 380.6 MB, free: 36.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.3607, allocations: 0.5625 kB / 380.6 MB, free: 36.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-05/0.3607, allocations: 22.95 kB / 380.7 MB, free: 36.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.3608, allocations: 19.56 kB / 380.7 MB, free: 36.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.3626, allocations: 0.8592 MB / 381.5 MB, free: 36.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005996/0.3686, allocations: 3.053 MB / 384.6 MB, free: 35.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.3699, allocations: 0.6174 MB / 385.2 MB, free: 35.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02524/0.3951, allocations: 30.36 MB / 415.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000677/0.3959, allocations: 384.8 kB / 415.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/0.3959, allocations: 2.297 kB / 415.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.002191/0.3981, allocations: 1.471 MB / 417.4 MB, free: 12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3981, allocations: 63.55 kB / 417.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/0.4011, allocations: 2.914 MB / 420.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.4012, allocations: 39.36 kB / 420.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009346/0.4021, allocations: 1.495 MB / 421.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.4022, allocations: 164.8 kB / 422.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.4023, allocations: 18.56 kB / 422.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.4024, allocations: 337.9 kB / 422.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005213/0.4029, allocations: 260.3 kB / 422.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.4035, allocations: 0.6195 MB / 423.3 MB, free: 9.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.4041, allocations: 341.4 kB / 423.6 MB, free: 8.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4041, allocations: 4 kB / 423.6 MB, free: 8.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001743/0.4059, allocations: 1.27 MB / 424.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.4059, allocations: 12 kB / 424.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-05/0.406, allocations: 84.48 kB / 425 MB, free: 7.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.406, allocations: 20 kB / 425 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.4067, allocations: 211.3 kB / 425.2 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.4067, allocations: 25.72 kB / 425.3 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008557/0.4076, allocations: 132.4 kB / 425.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.4077, allocations: 60 kB / 425.4 MB, free: 7.273 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.0006348/0.4083, allocations: 431.9 kB / 425.9 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.4086, allocations: 383.4 kB / 426.2 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.4111, allocations: 1.266 MB / 427.5 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4112, allocations: 4 kB / 427.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4112, allocations: 0 / 427.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4112, allocations: 6.391 kB / 427.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/0.4141, allocations: 2.136 MB / 429.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.719e-05/0.4141, allocations: 71.98 kB / 429.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.4146, allocations: 99.02 kB / 429.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.4146, allocations: 0 / 429.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.4147, allocations: 40.05 kB / 429.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.4147, allocations: 7.938 kB / 429.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4147, allocations: 2.812 kB / 429.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.4166, allocations: 1.416 MB / 431.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/0.4172, allocations: 470.3 kB / 431.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.4175, allocations: 12 kB / 431.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/0.4182, allocations: 44.02 kB / 431.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.4183, allocations: 66.75 kB / 431.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-05/0.4184, allocations: 35.98 kB / 431.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002183/0.4206, allocations: 1.888 MB / 433.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4206, allocations: 4 kB / 433.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001361/0.4219, allocations: 0.5855 MB / 434.4 MB, free: 14.26 MB / 334.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.00105/0.423, allocations: 0.7402 MB / 435.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.4246, allocations: 0.8454 MB / 436 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4246, allocations: 0 / 436 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007262/0.4253, allocations: 466.1 kB / 436.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.4267, allocations: 494.4 kB / 436.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.433, allocations: 4.918 MB / 441.8 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.434, allocations: 1.732 MB / 443.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001212/0.4353, allocations: 357.3 kB / 443.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.4355, allocations: 151.4 kB / 444 MB, free: 4.699 MB / 334.1 MB Notification: Performance of SimCode: time 2.004e-06/0.4355, allocations: 0 / 444 MB, free: 4.699 MB / 334.1 MB Notification: Performance of Templates: time 0.04869/0.4842, allocations: 28.51 MB / 472.6 MB, free: 8.281 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches