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.00162/0.00162, allocations: 177.1 kB / 16.41 MB, free: 5.707 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.612/1.612, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007301/0.0007303, allocations: 94.28 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003198, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2006, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001367/0.202, allocations: 1.203 MB / 375.8 MB, free: 44.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.2035, allocations: 0.8555 MB / 376.6 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.2036, allocations: 0 / 376.6 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.072e-05/0.2036, allocations: 10.23 kB / 376.6 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.694e-05/0.2037, allocations: 10.64 kB / 376.6 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.2039, allocations: 39.89 kB / 376.7 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2041, allocations: 107.6 kB / 376.8 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.2042, allocations: 12.16 kB / 376.8 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.2046, allocations: 354.6 kB / 377.1 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.2048, allocations: 77.22 kB / 377.2 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.2048, allocations: 3.375 kB / 377.2 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.984e-05/0.2048, allocations: 4.5 kB / 377.2 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.2049, allocations: 60.8 kB / 377.3 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.205, allocations: 72.25 kB / 377.3 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.2052, allocations: 286.3 kB / 377.6 MB, free: 43.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2052, allocations: 0 / 377.6 MB, free: 43.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2052, allocations: 5.219 kB / 377.6 MB, free: 43.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2052, allocations: 0 / 377.6 MB, free: 43.24 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.0004965/0.2057, allocations: 0.6605 MB / 378.3 MB, free: 42.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2058, allocations: 9 kB / 378.3 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.2059, allocations: 34.34 kB / 378.3 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.2061, allocations: 265.4 kB / 378.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2061, allocations: 7.906 kB / 378.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.2062, allocations: 12.09 kB / 378.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.2064, allocations: 127.1 kB / 378.7 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2065, allocations: 4 kB / 378.7 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.2065, allocations: 3.781 kB / 378.7 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2065, allocations: 4.75 kB / 378.7 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.2066, allocations: 56.53 kB / 378.8 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.2072, allocations: 463.9 kB / 379.3 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2074, allocations: 94.05 kB / 379.3 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.2075, allocations: 87.81 kB / 379.4 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.2076, allocations: 1.25 kB / 379.4 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/0.2079, allocations: 203.8 kB / 379.6 MB, free: 41.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2079, allocations: 0 / 379.6 MB, free: 41.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007351/0.2086, allocations: 472.5 kB / 380.1 MB, free: 41.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.2087, allocations: 169.1 kB / 380.3 MB, free: 40.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.2092, allocations: 0.5184 MB / 380.8 MB, free: 40.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.2093, allocations: 29.05 kB / 380.8 MB, free: 40.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.2093, allocations: 105.1 kB / 380.9 MB, free: 40.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.2094, allocations: 26.25 kB / 380.9 MB, free: 40.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.2094, allocations: 7.734 kB / 380.9 MB, free: 40.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.2094, allocations: 322.1 kB / 381.3 MB, free: 40.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.2096, allocations: 54.12 kB / 381.3 MB, free: 40.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.2097, allocations: 78.94 kB / 381.4 MB, free: 40.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.2098, allocations: 165.9 kB / 381.5 MB, free: 39.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2098, allocations: 1.094 kB / 381.5 MB, free: 39.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004554/0.2103, allocations: 375.5 kB / 381.9 MB, free: 39.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/0.2104, allocations: 126.9 kB / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2104, allocations: 0 / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2104, allocations: 1.469 kB / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.217e-05/0.2104, allocations: 5.484 kB / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2104, allocations: 0 / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.2106, allocations: 15.41 kB / 382.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.2107, allocations: 43.25 kB / 382.1 MB, free: 39.54 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.000268/0.211, allocations: 360.8 kB / 382.5 MB, free: 39.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.211, allocations: 47.48 kB / 382.5 MB, free: 39.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.2111, allocations: 67.98 kB / 382.6 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2111, allocations: 0 / 382.6 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2112, allocations: 1.406 kB / 382.6 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2112, allocations: 0 / 382.6 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.212, allocations: 0.8049 MB / 383.4 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.212, allocations: 0 / 383.4 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.212, allocations: 1.125 kB / 383.4 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.212, allocations: 1.375 kB / 383.4 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.2121, allocations: 17.27 kB / 383.4 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2121, allocations: 192 / 383.4 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2121, allocations: 0 / 383.4 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/0.2127, allocations: 0.5384 MB / 383.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.213, allocations: 249.8 kB / 384.2 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.213, allocations: 10.34 kB / 384.2 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2132, allocations: 14.61 kB / 384.2 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2133, allocations: 26.53 kB / 384.2 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.2134, allocations: 41.25 kB / 384.3 MB, free: 37.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004807/0.2138, allocations: 387.8 kB / 384.6 MB, free: 37.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2139, allocations: 0 / 384.6 MB, free: 37.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.2141, allocations: 54.05 kB / 384.7 MB, free: 37.58 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.0001319/0.2143, allocations: 116.9 kB / 384.8 MB, free: 37.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.2147, allocations: 434.3 kB / 385.2 MB, free: 37.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2148, allocations: 1.344 kB / 385.2 MB, free: 37.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.215, allocations: 373.7 kB / 385.6 MB, free: 36.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.2156, allocations: 116.7 kB / 385.7 MB, free: 36.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.2169, allocations: 0.78 MB / 386.5 MB, free: 36.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.2172, allocations: 0.8079 MB / 387.3 MB, free: 35.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.2173, allocations: 11.44 kB / 387.3 MB, free: 35.36 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2173, allocations: 0 / 387.3 MB, free: 35.36 MB / 298.7 MB Notification: Performance of Templates: time 0.003793/0.2211, allocations: 2.55 MB / 389.9 MB, free: 32.79 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