Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001812/0.001812, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 226.7 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 101.9 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009285/0.0009285, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2396, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002256/0.2419, allocations: 1.585 MB / 408.6 MB, free: 26.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.2435, allocations: 0.902 MB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.2436, allocations: 3.938 kB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.951e-05/0.2437, allocations: 3.984 kB / 409.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/0.2438, allocations: 19.86 kB / 409.6 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.244, allocations: 43.95 kB / 409.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2441, allocations: 115.7 kB / 409.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.2442, allocations: 19.17 kB / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.2445, allocations: 383.2 kB / 410.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.2446, allocations: 71.69 kB / 410.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.2447, allocations: 4 kB / 410.2 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.081e-05/0.2447, allocations: 7.938 kB / 410.2 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.2448, allocations: 59.77 kB / 410.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.2449, allocations: 119.1 kB / 410.4 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.2452, allocations: 342.8 kB / 410.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2452, allocations: 4 kB / 410.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2452, allocations: 0 / 410.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2452, allocations: 0 / 410.7 MB, free: 24.15 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.000655/0.2459, allocations: 0.7242 MB / 411.4 MB, free: 23.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2459, allocations: 11.97 kB / 411.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.246, allocations: 40.47 kB / 411.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.2463, allocations: 270.3 kB / 411.7 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2463, allocations: 12.38 kB / 411.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.2463, allocations: 4.375 kB / 411.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.2466, allocations: 133.8 kB / 411.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2466, allocations: 0 / 411.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2467, allocations: 8 kB / 411.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2467, allocations: 0 / 411.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.2469, allocations: 55.97 kB / 412 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.2475, allocations: 468.5 kB / 412.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.2476, allocations: 94.48 kB / 412.5 MB, free: 22.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.2478, allocations: 80.89 kB / 412.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2478, allocations: 4 kB / 412.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.2481, allocations: 203.2 kB / 412.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.2481, allocations: 4 kB / 412.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006148/0.2488, allocations: 473.5 kB / 413.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.2488, allocations: 166.2 kB / 413.4 MB, free: 21.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.2493, allocations: 0.5168 MB / 413.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.2493, allocations: 29.7 kB / 414 MB, free: 20.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.2494, allocations: 97.12 kB / 414.1 MB, free: 20.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.2494, allocations: 23.72 kB / 414.1 MB, free: 20.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.2495, allocations: 85.41 kB / 414.2 MB, free: 20.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.2496, allocations: 330.8 kB / 414.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.2497, allocations: 59.95 kB / 414.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2498, allocations: 76.72 kB / 414.6 MB, free: 19.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.2501, allocations: 343 kB / 414.9 MB, free: 19.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2501, allocations: 0 / 414.9 MB, free: 19.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004069/0.2505, allocations: 380.2 kB / 415.3 MB, free: 19.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.2505, allocations: 129.6 kB / 415.4 MB, free: 18.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2506, allocations: 4.031 kB / 415.5 MB, free: 18.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2506, allocations: 4 kB / 415.5 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.282e-05/0.2506, allocations: 240 / 415.5 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2506, allocations: 3.938 kB / 415.5 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2508, allocations: 15.94 kB / 415.5 MB, free: 18.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.2508, allocations: 47.98 kB / 415.5 MB, free: 18.92 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,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.0002276/0.2511, allocations: 370.2 kB / 415.9 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.2511, allocations: 39.53 kB / 415.9 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.2512, allocations: 63.16 kB / 416 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2512, allocations: 0 / 416 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2512, allocations: 0 / 416 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2512, allocations: 0 / 416 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.2519, allocations: 0.8132 MB / 416.8 MB, free: 17.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2519, allocations: 0 / 416.8 MB, free: 17.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.2519, allocations: 4 kB / 416.8 MB, free: 17.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2519, allocations: 3.984 kB / 416.8 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.252, allocations: 8 kB / 416.8 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.252, allocations: 4 kB / 416.8 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.252, allocations: 3.938 kB / 416.8 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007334/0.2527, allocations: 1.187 MB / 418 MB, free: 16.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.253, allocations: 252.3 kB / 418.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.253, allocations: 12 kB / 418.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.2532, allocations: 11.98 kB / 418.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.2533, allocations: 27.97 kB / 418.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.2533, allocations: 47.92 kB / 418.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003335/0.2536, allocations: 386.9 kB / 418.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2537, allocations: 3.938 kB / 418.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003528/0.254, allocations: 40 kB / 418.8 MB, free: 15.43 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 (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.0001073/0.2541, allocations: 123.1 kB / 418.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.2545, allocations: 437.5 kB / 419.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2545, allocations: 4.062 kB / 419.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.2547, allocations: 373.5 kB / 419.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.2553, allocations: 117.4 kB / 419.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008821/0.2562, allocations: 0.9002 MB / 420.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2565, allocations: 0.8064 MB / 421.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.559e-05/0.2565, allocations: 8.656 kB / 421.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.2565, allocations: 15.44 kB / 421.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2566, allocations: 0 / 421.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of Templates: time 0.005761/0.2623, allocations: 4.356 MB / 425.9 MB, free: 8.129 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches