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.001486/0.001486, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001918/0.001918, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9834/0.9834, allocations: 177 MB / 204.8 MB, free: 5.258 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.844e-06/1.844e-06, allocations: 0 / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.635e-05, allocations: 6.312 kB / 272.9 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.005351/0.005377, allocations: 1.533 MB / 274.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.006942, allocations: 0.8614 MB / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.006986, allocations: 0 / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.177e-05/0.007068, allocations: 11.86 kB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.00714, allocations: 19.8 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.01037, allocations: 51.88 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.01055, allocations: 135.7 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.01064, allocations: 19.92 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/0.01107, allocations: 419.3 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.01118, allocations: 55.81 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.01121, allocations: 12 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.478e-05/0.01124, allocations: 11.94 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.01131, allocations: 63.72 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.01138, allocations: 55.78 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.01164, allocations: 271 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01165, allocations: 0 / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01165, allocations: 0 / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.01165, allocations: 0 / 276.4 MB, free: 13.77 MB / 266.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.0008555/0.01251, allocations: 0.7824 MB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.01254, allocations: 15.98 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.01262, allocations: 48.69 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.01282, allocations: 222.9 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.01284, allocations: 4.375 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.01286, allocations: 8.375 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.01315, allocations: 249.6 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.01316, allocations: 192 / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003023/0.01618, allocations: 4.375 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.01619, allocations: 3.938 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.01633, allocations: 170.8 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.01693, allocations: 0.4954 MB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.01709, allocations: 189.8 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.01722, allocations: 170.5 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.01723, allocations: 4.047 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.01746, allocations: 323.1 kB / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.01746, allocations: 3.938 kB / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006452/0.01811, allocations: 0.6814 MB / 279.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.01818, allocations: 170.2 kB / 279.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000687/0.01887, allocations: 0.631 MB / 280.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.0189, allocations: 29.7 kB / 280.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.01896, allocations: 147.9 kB / 280.7 MB, free: 9.016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.01899, allocations: 27.8 kB / 280.8 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.01909, allocations: 87.16 kB / 280.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0006857/0.01978, allocations: 0.4923 MB / 281.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.0199, allocations: 162.8 kB / 281.5 MB, free: 8.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.02003, allocations: 189 kB / 281.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.02026, allocations: 333 kB / 282 MB, free: 7.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.02026, allocations: 0 / 282 MB, free: 7.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004338/0.02069, allocations: 495 kB / 282.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/0.02076, allocations: 126.8 kB / 282.6 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.02076, allocations: 0 / 282.6 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.02078, allocations: 4 kB / 282.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.061e-05/0.0208, allocations: 0 / 282.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.0208, allocations: 0 / 282.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.02091, allocations: 19.95 kB / 282.6 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.02096, allocations: 48.08 kB / 282.7 MB, free: 6.852 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.000269/0.02123, allocations: 389.3 kB / 283.1 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.02128, allocations: 51.7 kB / 283.1 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.374e-05/0.02137, allocations: 59.08 kB / 283.2 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.02137, allocations: 0 / 283.2 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.02137, allocations: 0 / 283.2 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.02138, allocations: 3.938 kB / 283.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.02246, allocations: 0.9478 MB / 284.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.02246, allocations: 0 / 284.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.02246, allocations: 0 / 284.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.02247, allocations: 4 kB / 284.1 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.02249, allocations: 19.98 kB / 284.2 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.02249, allocations: 0 / 284.2 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.0225, allocations: 0 / 284.2 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.02303, allocations: 0.6964 MB / 284.8 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.02331, allocations: 189.3 kB / 285 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.02335, allocations: 12 kB / 285 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.02345, allocations: 8 kB / 285.1 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.02354, allocations: 27.91 kB / 285.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.02359, allocations: 51.92 kB / 285.1 MB, free: 4.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004231/0.02401, allocations: 434.7 kB / 285.6 MB, free: 3.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02401, allocations: 0 / 285.6 MB, free: 3.793 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.02428, allocations: 40 kB / 285.6 MB, free: 3.754 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 0.0001178/0.0244, allocations: 111 kB / 285.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004328/0.02483, allocations: 0.5926 MB / 286.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02483, allocations: 0 / 286.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.02507, allocations: 432.1 kB / 286.7 MB, free: 2.441 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.02556, allocations: 139.9 kB / 286.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.02644, allocations: 0.7486 MB / 287.6 MB, free: 1.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.766e-05/0.02653, allocations: 95.27 kB / 287.7 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.087e-05/0.02657, allocations: 12.7 kB / 287.7 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.0266, allocations: 16.5 kB / 287.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.0266, allocations: 0 / 287.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of Templates: time 0.00747/0.03407, allocations: 5.196 MB / 292.9 MB, free: 12.17 MB / 282.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.844796421006322]