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.0009258/0.0009257, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0007999/0.0008, allocations: 88.8 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2478, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001585/0.2494, allocations: 1.213 MB / 376.3 MB, free: 44.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.251, allocations: 0.8499 MB / 377.1 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.2511, allocations: 0 / 377.1 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.963e-05/0.2512, allocations: 5.031 kB / 377.1 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.749e-05/0.2512, allocations: 11.98 kB / 377.2 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.2515, allocations: 43.67 kB / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.2516, allocations: 107.8 kB / 377.3 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2518, allocations: 24.25 kB / 377.3 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/0.2523, allocations: 346 kB / 377.7 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.2524, allocations: 69.11 kB / 377.7 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.066e-05/0.2525, allocations: 4.406 kB / 377.7 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.351e-05/0.2525, allocations: 3.438 kB / 377.7 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.2526, allocations: 68.56 kB / 377.8 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.2527, allocations: 128.8 kB / 377.9 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.253, allocations: 289.5 kB / 378.2 MB, free: 43.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.253, allocations: 3.984 kB / 378.2 MB, free: 43.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.253, allocations: 0.9375 kB / 378.2 MB, free: 43.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.2531, allocations: 0 / 378.2 MB, free: 43.18 MB / 298.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.0005757/0.2536, allocations: 0.6573 MB / 378.9 MB, free: 42.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2537, allocations: 10.19 kB / 378.9 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.2538, allocations: 35.03 kB / 378.9 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.254, allocations: 276.5 kB / 379.2 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.254, allocations: 4.844 kB / 379.2 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.2541, allocations: 12.69 kB / 379.2 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.2544, allocations: 126.3 kB / 379.3 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2544, allocations: 1.406 kB / 379.3 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.2545, allocations: 7.5 kB / 379.3 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.2545, allocations: 1.031 kB / 379.3 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.2546, allocations: 59.61 kB / 379.4 MB, free: 42.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.2552, allocations: 462.4 kB / 379.9 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2554, allocations: 94.38 kB / 379.9 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.2556, allocations: 84.61 kB / 380 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2556, allocations: 0 / 380 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/0.256, allocations: 204.1 kB / 380.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.256, allocations: 0 / 380.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000836/0.2568, allocations: 469.9 kB / 380.7 MB, free: 41.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.2569, allocations: 168.2 kB / 380.8 MB, free: 40.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.2575, allocations: 0.5145 MB / 381.4 MB, free: 40.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.2576, allocations: 29.36 kB / 381.4 MB, free: 40.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.2576, allocations: 96.73 kB / 381.5 MB, free: 40.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.2577, allocations: 31.58 kB / 381.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.2577, allocations: 6.438 kB / 381.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.2578, allocations: 326.6 kB / 381.8 MB, free: 40.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.2579, allocations: 62 kB / 381.9 MB, free: 40.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.258, allocations: 78.47 kB / 382 MB, free: 40.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.2583, allocations: 339 kB / 382.3 MB, free: 39.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2583, allocations: 0 / 382.3 MB, free: 39.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005192/0.2589, allocations: 379.5 kB / 382.7 MB, free: 39.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/0.259, allocations: 121.5 kB / 382.8 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.259, allocations: 0 / 382.8 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.259, allocations: 1.219 kB / 382.8 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.462e-05/0.259, allocations: 9.078 kB / 382.8 MB, free: 39.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.259, allocations: 0.7812 kB / 382.8 MB, free: 39.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.2592, allocations: 15.09 kB / 382.8 MB, free: 39.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/0.2593, allocations: 47 kB / 382.9 MB, free: 39.3 MB / 298.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.0003202/0.2596, allocations: 377.7 kB / 383.2 MB, free: 38.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.2597, allocations: 39 kB / 383.3 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.2598, allocations: 63.91 kB / 383.3 MB, free: 38.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2598, allocations: 5.031 kB / 383.3 MB, free: 38.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2598, allocations: 0 / 383.3 MB, free: 38.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2598, allocations: 0 / 383.3 MB, free: 38.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/0.2608, allocations: 0.8099 MB / 384.2 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2608, allocations: 0 / 384.2 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-06/0.2609, allocations: 5.125 kB / 384.2 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2609, allocations: 0 / 384.2 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.2609, allocations: 18.48 kB / 384.2 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2609, allocations: 0 / 384.2 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2609, allocations: 3.938 kB / 384.2 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.2616, allocations: 0.5226 MB / 384.7 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.2618, allocations: 241.2 kB / 384.9 MB, free: 37.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/0.2619, allocations: 10.38 kB / 385 MB, free: 37.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.262, allocations: 18.52 kB / 385 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.2622, allocations: 25.34 kB / 385 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.2622, allocations: 50.39 kB / 385 MB, free: 37.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004609/0.2627, allocations: 396 kB / 385.4 MB, free: 37.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2627, allocations: 0 / 385.4 MB, free: 37.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002952/0.263, allocations: 40.97 kB / 385.5 MB, free: 37.34 MB / 298.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.0001432/0.2632, allocations: 116.8 kB / 385.6 MB, free: 37.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005197/0.2637, allocations: 432.3 kB / 386 MB, free: 36.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2637, allocations: 0 / 386 MB, free: 36.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.264, allocations: 375 kB / 386.4 MB, free: 36.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.2646, allocations: 116.7 kB / 386.5 MB, free: 36.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2657, allocations: 0.7885 MB / 387.3 MB, free: 35.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.2659, allocations: 0.7953 MB / 388.1 MB, free: 34.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.266, allocations: 11.44 kB / 388.1 MB, free: 34.97 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.266, allocations: 0 / 388.1 MB, free: 34.97 MB / 298.7 MB Notification: Performance of Templates: time 0.003539/0.2695, allocations: 2.56 MB / 390.6 MB, free: 32.39 MB / 298.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/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_cpp_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches