Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00169/0.00169, allocations: 180.8 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.816/3.816, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001869/0.001869, allocations: 89.48 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000614/0.0006145, allocations: 12 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.6646, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.8568, allocations: 81.95 MB / 457.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005395/0.8575, allocations: 71.97 kB / 457.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08454/0.9421, allocations: 27.88 MB / 485.6 MB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.9421, allocations: 0 / 485.6 MB, free: 2.777 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.9422, allocations: 4 kB / 485.6 MB, free: 2.773 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001274/0.9435, allocations: 0.6763 MB / 486.3 MB, free: 2.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.494e-05/0.9436, allocations: 12.03 kB / 486.3 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.9437, allocations: 36.55 kB / 486.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.9443, allocations: 278.3 kB / 486.6 MB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.9444, allocations: 4.375 kB / 486.6 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.9444, allocations: 12.38 kB / 486.6 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.945, allocations: 146.1 kB / 486.8 MB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.945, allocations: 192 / 486.8 MB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.9451, allocations: 15.92 kB / 486.8 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.9451, allocations: 3.938 kB / 486.8 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.9453, allocations: 67.95 kB / 486.9 MB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.9467, allocations: 484.4 kB / 487.3 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.947, allocations: 98.53 kB / 487.4 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.9473, allocations: 88.89 kB / 487.5 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.9474, allocations: 4 kB / 487.5 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006119/0.948, allocations: 230.6 kB / 487.7 MB, free: 452 kB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.116e-06/0.948, allocations: 3.938 kB / 487.7 MB, free: 448 kB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001589/0.9496, allocations: 0.5272 MB / 488.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002083/0.9498, allocations: 162.2 kB / 488.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.9512, allocations: 0.5208 MB / 488.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.9513, allocations: 29.7 kB / 489 MB, free: 15.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.9514, allocations: 93.14 kB / 489.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.9515, allocations: 31.62 kB / 489.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.9516, allocations: 8 kB / 489.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000324/0.9519, allocations: 326.8 kB / 489.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.9521, allocations: 63.97 kB / 489.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.9524, allocations: 81.67 kB / 489.6 MB, free: 14.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.9532, allocations: 367.2 kB / 489.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9532, allocations: 0 / 489.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001248/0.9544, allocations: 440.5 kB / 490.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.9547, allocations: 122.8 kB / 490.5 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.9547, allocations: 4 kB / 490.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.9547, allocations: 4.031 kB / 490.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-05/0.9548, allocations: 3.938 kB / 490.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.9548, allocations: 0 / 490.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.9551, allocations: 15.98 kB / 490.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.9553, allocations: 119.9 kB / 490.6 MB, free: 13.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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.0007936/0.9561, allocations: 362.2 kB / 491 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.9562, allocations: 39.53 kB / 491 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.9564, allocations: 71.12 kB / 491.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.9564, allocations: 4 kB / 491.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.9564, allocations: 0 / 491.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.9565, allocations: 0 / 491.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.9583, allocations: 0.876 MB / 492 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.9583, allocations: 4 kB / 492 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.9584, allocations: 3.984 kB / 492 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.639e-06/0.9584, allocations: 4 kB / 492 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.9584, allocations: 15.98 kB / 492 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.9585, allocations: 4 kB / 492 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9585, allocations: 4 kB / 492 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.9597, allocations: 0.5915 MB / 492.6 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/0.9603, allocations: 252.3 kB / 492.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.636e-05/0.9604, allocations: 12 kB / 492.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.9607, allocations: 15.98 kB / 492.9 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.9609, allocations: 35.95 kB / 492.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/0.9611, allocations: 123.7 kB / 493 MB, free: 10.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008308/0.962, allocations: 386.9 kB / 493.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.962, allocations: 0 / 493.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005632/0.9626, allocations: 47.94 kB / 493.4 MB, free: 10.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0002832/0.9629, allocations: 115 kB / 493.6 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009925/0.9639, allocations: 445.5 kB / 494 MB, free: 9.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.9639, allocations: 0 / 494 MB, free: 9.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005816/0.9645, allocations: 393.4 kB / 494.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.9655, allocations: 113.3 kB / 494.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.9676, allocations: 0.7873 MB / 495.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007372/0.9684, allocations: 0.7992 MB / 496.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.9684, allocations: 11.44 kB / 496.1 MB, free: 7.547 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.9685, allocations: 0 / 496.1 MB, free: 7.547 MB / 378.7 MB Notification: Performance of Templates: time 0.01117/0.9796, allocations: 3.893 MB / 500 MB, free: 3.613 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches