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.001524/0.001524, allocations: 111.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001893, allocations: 207.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2474, allocations: 50.55 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002319/0.2498, allocations: 1.529 MB / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.2516, allocations: 0.8771 MB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.2517, allocations: 0 / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.997e-05/0.2517, allocations: 7.875 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.2518, allocations: 23.84 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.2521, allocations: 47.89 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.2523, allocations: 159.7 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2524, allocations: 15.98 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.2529, allocations: 391.3 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.253, allocations: 71.7 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.253, allocations: 8 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.598e-05/0.2531, allocations: 12 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.2532, allocations: 67.7 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.2533, allocations: 115.2 kB / 413.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.2536, allocations: 362.6 kB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2536, allocations: 0 / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2536, allocations: 0 / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.2536, 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.0007403/0.2544, allocations: 0.7237 MB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2544, allocations: 8.031 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.2545, allocations: 36.56 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.2548, allocations: 278.3 kB / 414.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2548, allocations: 4.375 kB / 414.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.2548, allocations: 8.375 kB / 414.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.2552, allocations: 129.9 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2552, allocations: 0 / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.2552, allocations: 7.938 kB / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2552, allocations: 0 / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.2553, allocations: 59.97 kB / 414.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.2559, allocations: 456.5 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.2561, allocations: 98.48 kB / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.2563, allocations: 80.89 kB / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.2563, allocations: 0 / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003018/0.2566, allocations: 206.7 kB / 415.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.2566, allocations: 4 kB / 415.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007516/0.2574, allocations: 476 kB / 416.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.2575, allocations: 170.2 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/0.2581, allocations: 0.513 MB / 416.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.2581, allocations: 29.7 kB / 416.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.2582, allocations: 105 kB / 416.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.2582, allocations: 23.72 kB / 417 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.2583, allocations: 77.41 kB / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2585, allocations: 330.8 kB / 417.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.2586, allocations: 59.97 kB / 417.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2588, allocations: 73.56 kB / 417.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.2591, allocations: 342.7 kB / 417.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2591, allocations: 0 / 417.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005212/0.2596, allocations: 384.2 kB / 418.2 MB, free: 8.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.092e-05/0.2597, allocations: 122.9 kB / 418.3 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2597, allocations: 11.97 kB / 418.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2598, allocations: 0 / 418.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.001e-05/0.2598, allocations: 3.984 kB / 418.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2598, allocations: 0 / 418.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.2599, allocations: 15.91 kB / 418.4 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.26, allocations: 36 kB / 418.4 MB, free: 8.684 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.000321/0.2603, allocations: 370.2 kB / 418.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.2604, allocations: 43.55 kB / 418.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.71e-05/0.2605, allocations: 67.16 kB / 418.9 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2605, allocations: 0 / 418.9 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2605, allocations: 0 / 418.9 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.2608, allocations: 248.4 kB / 419.1 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.2609, allocations: 8 kB / 419.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.261, allocations: 19.92 kB / 419.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.2611, allocations: 23.95 kB / 419.2 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006857/0.2618, allocations: 0.6926 MB / 419.8 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006488/0.2624, allocations: 0.5949 MB / 420.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001978/0.2626, allocations: 148 kB / 420.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004199/0.2631, allocations: 386.8 kB / 421 MB, free: 5.934 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.2631, allocations: 0 / 421 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.2637, allocations: 448.2 kB / 421.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of SimCode: time 0.001313/0.2651, allocations: 1.33 MB / 422.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of Templates: time 0.006421/0.2715, allocations: 3.966 MB / 426.7 MB, free: 28 kB / 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