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.0009589/0.0009589, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009449/0.0009449, allocations: 165.5 kB / 24.91 MB, free: 8.77 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.9662/0.9662, allocations: 177 MB / 205.2 MB, free: 5.066 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 9.61e-07/9.61e-07, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.344e-05, allocations: 5.266 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002626/0.002639, allocations: 1.571 MB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.004567, allocations: 0.8652 MB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.004614, allocations: 0 / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.687e-05/0.004691, allocations: 19.8 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.004767, allocations: 19.84 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.005035, allocations: 47.89 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.005231, allocations: 139.7 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.984e-05/0.005301, allocations: 15.92 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.005767, allocations: 387.3 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.005886, allocations: 63.77 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.005917, allocations: 8 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.445e-05/0.005942, allocations: 8 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.006009, allocations: 71.77 kB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.478e-05/0.006084, allocations: 59.72 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.006506, allocations: 263 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006507, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006508, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.006513, allocations: 0 / 276.9 MB, free: 13.5 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.0005835/0.007097, allocations: 0.6148 MB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.007132, allocations: 15.98 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.007199, allocations: 28.91 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.007469, allocations: 216 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.007492, allocations: 12.38 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.007512, allocations: 8.375 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.007791, allocations: 233.7 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.007799, allocations: 192 / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.007815, allocations: 384 / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.007821, allocations: 7.938 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.008203, allocations: 150.7 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.008557, allocations: 216.1 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.008721, allocations: 169.3 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.008851, allocations: 167.7 kB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.008857, allocations: 0 / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.009109, allocations: 301.4 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.009111, allocations: 0 / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005838/0.009694, allocations: 0.5214 MB / 279.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.009762, allocations: 170.2 kB / 279.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.01016, allocations: 363.1 kB / 280.1 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.01019, allocations: 33.7 kB / 280.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.01023, allocations: 93.12 kB / 280.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.01027, allocations: 31.83 kB / 280.3 MB, free: 9.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.01037, allocations: 81.44 kB / 280.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.01046, allocations: 318.8 kB / 280.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.01059, allocations: 146.8 kB / 280.8 MB, free: 9.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.01073, allocations: 168.5 kB / 280.9 MB, free: 9.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.01098, allocations: 311.2 kB / 281.3 MB, free: 8.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01098, allocations: 0 / 281.3 MB, free: 8.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002952/0.01128, allocations: 355.2 kB / 281.6 MB, free: 8.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.535e-05/0.01135, allocations: 130.8 kB / 281.7 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01136, allocations: 0 / 281.7 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01137, allocations: 4 kB / 281.7 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.535e-05/0.01139, allocations: 4 kB / 281.7 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.01139, allocations: 0 / 281.7 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.01149, allocations: 15.98 kB / 281.8 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.01155, allocations: 32 kB / 281.8 MB, free: 8.059 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.0003093/0.01186, allocations: 349.3 kB / 282.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.01191, allocations: 35.91 kB / 282.2 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.01201, allocations: 55.09 kB / 282.2 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01201, allocations: 4 kB / 282.2 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.01201, allocations: 0 / 282.2 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01201, allocations: 0 / 282.2 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008079/0.01282, allocations: 0.6056 MB / 282.8 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01283, allocations: 4 kB / 282.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-06/0.01283, allocations: 192 / 282.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.01284, allocations: 11.88 kB / 282.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.01285, allocations: 4 kB / 282.8 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01285, allocations: 3.984 kB / 282.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01286, allocations: 4 kB / 282.9 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.01313, allocations: 497 kB / 283.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.0133, allocations: 139.4 kB / 283.5 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.01333, allocations: 12 kB / 283.5 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.0134, allocations: 8 kB / 283.5 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.01345, allocations: 23.97 kB / 283.5 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.01349, allocations: 35.94 kB / 283.5 MB, free: 6.117 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.01365, allocations: 156.6 kB / 283.7 MB, free: 5.965 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01365, allocations: 0 / 283.7 MB, free: 5.965 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.01387, allocations: 40 kB / 283.7 MB, free: 5.926 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.0001018/0.01397, allocations: 104.1 kB / 283.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.01438, allocations: 0.5547 MB / 284.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.01438, allocations: 4 kB / 284.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.01463, allocations: 412 kB / 284.8 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01491, allocations: 128.6 kB / 284.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.01561, allocations: 0.7301 MB / 285.7 MB, free: 3.777 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.471e-05/0.01568, allocations: 99.31 kB / 285.8 MB, free: 3.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.076e-05/0.01572, allocations: 16.7 kB / 285.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.01595, allocations: 155.6 kB / 285.9 MB, free: 3.488 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01595, allocations: 4 kB / 285.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of Templates: time 0.005531/0.02149, allocations: 4.429 MB / 290.4 MB, free: 15.07 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 -s gbode -gbm=radauIIA3 -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.622825657017529]