Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_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_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 191.6 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 226.6 MB / 244.7 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007767/0.0007767, allocations: 102 kB / 296.8 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002503, allocations: 8 kB / 356.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2253, allocations: 51.31 MB / 408.1 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001288/0.2266, allocations: 1.217 MB / 409.3 MB, free: 26.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.228, allocations: 0.8392 MB / 410.1 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.2281, allocations: 0.625 kB / 410.1 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.92e-05/0.2281, allocations: 4.781 kB / 410.1 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.2282, allocations: 15.86 kB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.2284, allocations: 37.73 kB / 410.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2285, allocations: 111.7 kB / 410.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.2286, allocations: 17.89 kB / 410.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/0.229, allocations: 355.3 kB / 410.6 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.2291, allocations: 67.83 kB / 410.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.2291, allocations: 4 kB / 410.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.69e-05/0.2292, allocations: 5.062 kB / 410.7 MB, free: 25.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.2292, allocations: 63.77 kB / 410.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.262e-05/0.2293, allocations: 129 kB / 410.9 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.2295, allocations: 284.1 kB / 411.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2295, allocations: 0 / 411.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2295, allocations: 5.625 kB / 411.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2295, allocations: 0 / 411.2 MB, free: 24.61 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.0004519/0.23, allocations: 0.6538 MB / 411.8 MB, free: 23.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.23, allocations: 15.42 kB / 411.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.2301, allocations: 40.47 kB / 411.9 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.2303, allocations: 270.3 kB / 412.2 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.2303, allocations: 12.36 kB / 412.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2304, allocations: 8.375 kB / 412.2 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.2306, allocations: 121.9 kB / 412.3 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2306, allocations: 0 / 412.3 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.2307, allocations: 8 kB / 412.3 MB, free: 23.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2307, allocations: 0 / 412.3 MB, free: 23.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.2308, allocations: 63.95 kB / 412.4 MB, free: 23.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.2313, allocations: 460.5 kB / 412.8 MB, free: 22.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.2315, allocations: 90.55 kB / 412.9 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.2316, allocations: 88.88 kB / 413 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.2316, allocations: 4.109 kB / 413 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.2319, allocations: 210.5 kB / 413.2 MB, free: 22.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.2319, allocations: 0 / 413.2 MB, free: 22.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006198/0.2325, allocations: 456 kB / 413.6 MB, free: 21.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.2326, allocations: 166.2 kB / 413.8 MB, free: 21.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.2331, allocations: 0.5168 MB / 414.3 MB, free: 21.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2331, allocations: 33.7 kB / 414.4 MB, free: 21.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.2331, allocations: 97.05 kB / 414.5 MB, free: 21.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.2332, allocations: 31.64 kB / 414.5 MB, free: 21.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.2332, allocations: 8 kB / 414.5 MB, free: 21.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.2333, allocations: 326.8 kB / 414.8 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2334, allocations: 51.97 kB / 414.9 MB, free: 20.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.2335, allocations: 69.69 kB / 414.9 MB, free: 20.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.2338, allocations: 340.3 kB / 415.3 MB, free: 20.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2338, allocations: 3.938 kB / 415.3 MB, free: 20.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004104/0.2342, allocations: 384.4 kB / 415.6 MB, free: 19.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.2343, allocations: 122.8 kB / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2343, allocations: 0 / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2343, allocations: 4 kB / 415.8 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.371e-05/0.2343, allocations: 4.109 kB / 415.8 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.2344, allocations: 8.062 kB / 415.8 MB, free: 19.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.2345, allocations: 19.84 kB / 415.8 MB, free: 19.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.2346, allocations: 47.97 kB / 415.8 MB, free: 19.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.0002386/0.2348, allocations: 366.2 kB / 416.2 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.2349, allocations: 39.61 kB / 416.2 MB, free: 19.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.235, allocations: 63.14 kB / 416.3 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.235, allocations: 0 / 416.3 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.235, allocations: 4 kB / 416.3 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.235, allocations: 0 / 416.3 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007293/0.2357, allocations: 0.8166 MB / 417.1 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2357, allocations: 0 / 417.1 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-06/0.2358, allocations: 0 / 417.1 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2358, allocations: 3.938 kB / 417.1 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.2358, allocations: 11.98 kB / 417.1 MB, free: 18.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2358, allocations: 7.938 kB / 417.1 MB, free: 18.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2358, allocations: 3.938 kB / 417.2 MB, free: 18.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.2363, allocations: 0.5252 MB / 417.7 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.2365, allocations: 244.4 kB / 417.9 MB, free: 17.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.2366, allocations: 12 kB / 417.9 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.2367, allocations: 15.98 kB / 417.9 MB, free: 17.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2368, allocations: 27.91 kB / 418 MB, free: 17.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.2369, allocations: 43.94 kB / 418 MB, free: 17.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003439/0.2372, allocations: 390.8 kB / 418.4 MB, free: 16.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2372, allocations: 0 / 418.4 MB, free: 16.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.2375, allocations: 44 kB / 418.4 MB, free: 16.76 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.0001173/0.2376, allocations: 119.1 kB / 418.6 MB, free: 16.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.238, allocations: 441.5 kB / 419 MB, free: 16.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.238, allocations: 0 / 419 MB, free: 16.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.2382, allocations: 373.6 kB / 419.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.2387, allocations: 113.6 kB / 419.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000888/0.2396, allocations: 0.7717 MB / 420.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.2399, allocations: 0.8064 MB / 421 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.2399, allocations: 11.44 kB / 421 MB, free: 13.98 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2399, allocations: 0 / 421 MB, free: 13.98 MB / 298.7 MB Notification: Performance of Templates: time 0.003345/0.2433, allocations: 2.549 MB / 423.6 MB, free: 11.42 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches