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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 84.25 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 168.7 kB / 25.61 MB, free: 8.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9401/0.9401, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] 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=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.11e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001913/0.001934, allocations: 1.538 MB / 275.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.00337, allocations: 0.8536 MB / 276.5 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.003424, allocations: 5.719 kB / 276.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.524e-05/0.003509, allocations: 7.922 kB / 276.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.003583, allocations: 23.8 kB / 276.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.003816, allocations: 51.86 kB / 276.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.003966, allocations: 136.2 kB / 276.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.00405, allocations: 24.53 kB / 276.7 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.004427, allocations: 415.2 kB / 277.2 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.00454, allocations: 62.28 kB / 277.2 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.004571, allocations: 8 kB / 277.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.704e-05/0.004598, allocations: 12 kB / 277.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.004672, allocations: 63.78 kB / 277.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.004741, allocations: 51.73 kB / 277.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.004951, allocations: 263.1 kB / 277.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004953, allocations: 1.938 kB / 277.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004954, allocations: 3.938 kB / 277.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.004958, allocations: 4 kB / 277.6 MB, free: 0.7891 MB / 250.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.0005638/0.005521, allocations: 0.7824 MB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.00556, allocations: 12.03 kB / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.005621, allocations: 45.2 kB / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.005817, allocations: 226.8 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.005832, allocations: 5.031 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.005849, allocations: 12.38 kB / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.00607, allocations: 233.7 kB / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.006077, allocations: 192 / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.006091, allocations: 4.375 kB / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.006097, allocations: 7.922 kB / 278.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.372e-05/0.00618, allocations: 154.8 kB / 279.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.006576, allocations: 412 kB / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.0067, allocations: 185.8 kB / 279.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.837e-05/0.006788, allocations: 162.5 kB / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-06/0.006793, allocations: 0 / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.006973, allocations: 319.1 kB / 280.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.006974, allocations: 4 kB / 280.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004988/0.007473, allocations: 0.6463 MB / 280.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.007549, allocations: 170.2 kB / 281 MB, free: 13.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.007961, allocations: 0.4983 MB / 281.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.007983, allocations: 37.69 kB / 281.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.008039, allocations: 147.8 kB / 281.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.008066, allocations: 31.83 kB / 281.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.00814, allocations: 91.16 kB / 281.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.008255, allocations: 0.4923 MB / 282.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.008338, allocations: 158.8 kB / 282.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/0.008428, allocations: 170.1 kB / 282.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.008594, allocations: 328.1 kB / 282.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008596, allocations: 0 / 282.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003217/0.008918, allocations: 475.2 kB / 283.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.008973, allocations: 122.7 kB / 283.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.008976, allocations: 4.031 kB / 283.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.008983, allocations: 4 kB / 283.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.374e-05/0.008997, allocations: 3.984 kB / 283.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.009, allocations: 0 / 283.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.00908, allocations: 12 kB / 283.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.009118, allocations: 40 kB / 283.5 MB, free: 10.22 MB / 266.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.0002368/0.009355, allocations: 393.2 kB / 283.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.009398, allocations: 51.7 kB / 284 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.234e-05/0.00948, allocations: 55.09 kB / 284 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.009482, allocations: 7.984 kB / 284 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.009484, allocations: 0 / 284 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.009487, allocations: 0 / 284 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.01006, allocations: 0.8392 MB / 284.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01006, allocations: 0 / 284.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-06/0.01006, allocations: 3.938 kB / 284.9 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01007, allocations: 0 / 284.9 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.01008, allocations: 19.98 kB / 284.9 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01009, allocations: 0 / 284.9 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01009, allocations: 3.938 kB / 284.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.01048, allocations: 0.6803 MB / 285.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.0107, allocations: 181.3 kB / 285.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.01074, allocations: 16.06 kB / 285.8 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.01081, allocations: 11.98 kB / 285.8 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.01087, allocations: 19.98 kB / 285.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.0109, allocations: 47.92 kB / 285.8 MB, free: 7.723 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.01111, allocations: 306.8 kB / 286.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01111, allocations: 0 / 286.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.0113, allocations: 48 kB / 286.2 MB, free: 7.379 MB / 266.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 8.974e-05/0.01139, allocations: 111 kB / 286.3 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.01171, allocations: 0.5769 MB / 286.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.01171, allocations: 4 kB / 286.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.01189, allocations: 408.1 kB / 287.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.01225, allocations: 135.2 kB / 287.4 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.01296, allocations: 0.7408 MB / 288.2 MB, free: 5.184 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.909e-05/0.01303, allocations: 103.1 kB / 288.3 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.229e-05/0.01306, allocations: 12.78 kB / 288.3 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.01329, allocations: 178.4 kB / 288.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01329, allocations: 4 kB / 288.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of Templates: time 0.005275/0.01856, allocations: 4.595 MB / 293 MB, free: 316 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7641882128082216]