Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.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.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_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_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 112.3 kB / 17.16 MB, free: 6.031 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.001508/0.001508, allocations: 190 kB / 18.07 MB, free: 5.266 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.712/1.712, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001427/0.001428, allocations: 56.39 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1805, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.004556/0.1851, allocations: 1.566 MB / 328.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.1885, allocations: 0.9101 MB / 329.1 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.1886, allocations: 0 / 329.1 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1889, allocations: 3.938 kB / 329.1 MB, free: 2.379 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.189, allocations: 19.84 kB / 329.1 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1894, allocations: 39.97 kB / 329.1 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.1896, allocations: 119.7 kB / 329.3 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.1898, allocations: 23.98 kB / 329.3 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007095/0.1906, allocations: 387.3 kB / 329.7 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.1907, allocations: 63.64 kB / 329.7 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.422e-05/0.1908, allocations: 8 kB / 329.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.285e-05/0.1909, allocations: 4 kB / 329.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.191, allocations: 63.75 kB / 329.8 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.1912, allocations: 111.2 kB / 329.9 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.1917, allocations: 350.7 kB / 330.2 MB, free: 1.211 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1918, allocations: 0 / 330.2 MB, free: 1.211 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1918, allocations: 0 / 330.2 MB, free: 1.211 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1918, allocations: 0 / 330.2 MB, free: 1.211 MB / 270.1 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.001116/0.1929, allocations: 0.7269 MB / 331 MB, free: 420 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.193, allocations: 11.97 kB / 331 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1931, allocations: 44.47 kB / 331 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.1937, allocations: 270.3 kB / 331.3 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.1937, allocations: 8.375 kB / 331.3 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.1938, allocations: 8.375 kB / 331.3 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.1943, allocations: 125.9 kB / 331.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1943, allocations: 0 / 331.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.1943, allocations: 4 kB / 331.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.1944, allocations: 0 / 331.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.1946, allocations: 67.91 kB / 331.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.1957, allocations: 448.6 kB / 331.9 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.196, allocations: 98.48 kB / 332 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.1963, allocations: 88.88 kB / 332.1 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.1963, allocations: 0 / 332.1 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006524/0.197, allocations: 202.6 kB / 332.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 4.528e-06/0.197, allocations: 112 / 332.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001234/0.1982, allocations: 480 kB / 332.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.1984, allocations: 166.2 kB / 332.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.1995, allocations: 0.5168 MB / 333.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.1995, allocations: 33.7 kB / 333.5 MB, free: 13.67 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.1996, allocations: 97.14 kB / 333.6 MB, free: 13.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.1998, allocations: 31.64 kB / 333.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.2, allocations: 73.42 kB / 333.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2002, allocations: 330.8 kB / 334 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.2004, allocations: 55.97 kB / 334.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.2006, allocations: 73.67 kB / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.201, allocations: 347.6 kB / 334.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2011, allocations: 0 / 334.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007195/0.2018, allocations: 380.2 kB / 334.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.2019, allocations: 126.8 kB / 335 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.202, allocations: 4 kB / 335 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.202, allocations: 0 / 335 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.89e-05/0.202, allocations: 0 / 335 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.202, allocations: 0 / 335 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.2023, allocations: 15.98 kB / 335 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.2024, allocations: 40.03 kB / 335 MB, free: 11.99 MB / 286.1 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,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005333/0.2029, allocations: 370.4 kB / 335.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.203, allocations: 35.62 kB / 335.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.2032, allocations: 67.14 kB / 335.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2032, allocations: 0 / 335.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2032, allocations: 0 / 335.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.2032, allocations: 4 kB / 335.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.2049, allocations: 0.8249 MB / 336.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.205, allocations: 4 kB / 336.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-06/0.205, allocations: 0 / 336.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.205, allocations: 3.984 kB / 336.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.205, allocations: 11.98 kB / 336.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.205, allocations: 4 kB / 336.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.2051, allocations: 3.938 kB / 336.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/0.206, allocations: 0.5213 MB / 336.9 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.2065, allocations: 248.3 kB / 337.1 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.2065, allocations: 16 kB / 337.1 MB, free: 9.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.2068, allocations: 8 kB / 337.1 MB, free: 9.703 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.2069, allocations: 31.91 kB / 337.2 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.207, allocations: 43.92 kB / 337.2 MB, free: 9.629 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007101/0.2077, allocations: 386.9 kB / 337.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.2077, allocations: 0 / 337.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004551/0.2082, allocations: 48 kB / 337.6 MB, free: 9.207 MB / 286.1 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 (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.0002301/0.2084, allocations: 115 kB / 337.8 MB, free: 9.086 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007708/0.2092, allocations: 441.5 kB / 338.2 MB, free: 8.605 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2092, allocations: 0 / 338.2 MB, free: 8.605 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.2097, allocations: 373.8 kB / 338.6 MB, free: 8.191 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.2107, allocations: 113.3 kB / 338.7 MB, free: 8.078 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.2126, allocations: 0.7457 MB / 339.4 MB, free: 7.309 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.2133, allocations: 0.8025 MB / 340.2 MB, free: 6.48 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.229e-05/0.2134, allocations: 12.66 kB / 340.2 MB, free: 6.465 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.2134, allocations: 15.38 kB / 340.2 MB, free: 6.449 MB / 286.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2134, allocations: 0 / 340.2 MB, free: 6.449 MB / 286.1 MB Notification: Performance of Templates: time 0.01113/0.2246, allocations: 4.248 MB / 344.5 MB, free: 2.156 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches