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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001582/0.001582, allocations: 113.7 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 206.7 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2571, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002553/0.2597, allocations: 1.518 MB / 411.4 MB, free: 52 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.2616, allocations: 0.8887 MB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.2617, allocations: 0 / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.399e-05/0.2618, allocations: 11.86 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.964e-05/0.2619, allocations: 15.81 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.2622, allocations: 51.88 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.2624, allocations: 155.7 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2625, allocations: 19.98 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.263, allocations: 395.2 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.2631, allocations: 63.75 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.2632, allocations: 12 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.2632, allocations: 8 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.2633, allocations: 75.64 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.2635, allocations: 107.2 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.2638, allocations: 358.7 kB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2638, allocations: 0 / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2638, allocations: 0 / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.2638, allocations: 0 / 413.6 MB, free: 13.9 MB / 334.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.0008389/0.2647, allocations: 0.7238 MB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2647, allocations: 8.031 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.2648, allocations: 36.56 kB / 414.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.2651, allocations: 278.3 kB / 414.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.2651, allocations: 8.375 kB / 414.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.2651, allocations: 16.38 kB / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.2654, allocations: 129.4 kB / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2655, allocations: 0 / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.2655, allocations: 4 kB / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2655, allocations: 4 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.2656, allocations: 55.97 kB / 414.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.2663, allocations: 464.4 kB / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.2665, allocations: 94.55 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.2667, allocations: 80.89 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.2667, allocations: 0 / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.267, allocations: 202.6 kB / 415.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.267, allocations: 4 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007566/0.2678, allocations: 472 kB / 416.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.2679, allocations: 170.2 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.2685, allocations: 0.5091 MB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.2685, allocations: 33.7 kB / 416.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.2686, allocations: 105 kB / 416.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.2687, allocations: 31.69 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.2688, allocations: 77.42 kB / 417 MB, free: 10.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2689, allocations: 326.8 kB / 417.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.269, allocations: 59.97 kB / 417.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.2692, allocations: 77.61 kB / 417.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.2695, allocations: 343.2 kB / 417.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2695, allocations: 4 kB / 417.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005107/0.27, allocations: 372.3 kB / 418.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.663e-05/0.2701, allocations: 130.9 kB / 418.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2701, allocations: 3.938 kB / 418.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2702, allocations: 4.031 kB / 418.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.059e-05/0.2702, allocations: 3.938 kB / 418.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.2702, allocations: 4 kB / 418.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2703, allocations: 11.91 kB / 418.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.2704, allocations: 39.98 kB / 418.4 MB, free: 8.672 MB / 334.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.0003455/0.2708, allocations: 370.2 kB / 418.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.2708, allocations: 35.62 kB / 418.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.2709, allocations: 67.14 kB / 418.8 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2709, allocations: 4 kB / 418.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2709, allocations: 0 / 418.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.271, allocations: 4 kB / 418.9 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.2719, allocations: 0.813 MB / 419.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2719, allocations: 3.984 kB / 419.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-06/0.2719, allocations: 192 / 419.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2719, allocations: 0 / 419.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.272, allocations: 12 kB / 419.7 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.272, allocations: 4 kB / 419.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.272, allocations: 3.938 kB / 419.7 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.2726, allocations: 0.5252 MB / 420.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.2729, allocations: 244.4 kB / 420.5 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.273, allocations: 12 kB / 420.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.2731, allocations: 11.98 kB / 420.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2732, allocations: 31.91 kB / 420.5 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.2733, allocations: 39.94 kB / 420.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004424/0.2737, allocations: 390.9 kB / 420.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2738, allocations: 4 kB / 420.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000313/0.2741, allocations: 48 kB / 421 MB, free: 5.902 MB / 334.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.0001319/0.2742, allocations: 115 kB / 421.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.2747, allocations: 433.5 kB / 421.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2747, allocations: 7.938 kB / 421.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.275, allocations: 377.5 kB / 421.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.2757, allocations: 133.2 kB / 422 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.2768, allocations: 0.6867 MB / 422.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.2772, allocations: 0.8022 MB / 423.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.2773, allocations: 11.44 kB / 423.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2773, allocations: 3.938 kB / 423.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of Templates: time 0.004414/0.2817, allocations: 2.573 MB / 426.1 MB, free: 0.5977 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches