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.001171/0.001171, allocations: 81.91 kB / 21.42 MB, free: 3.066 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.001275/0.001275, allocations: 162 kB / 24.82 MB, free: 9.312 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 1.019/1.019, allocations: 177 MB / 205.1 MB, free: 5.477 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 2.044e-06/2.044e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.101e-05, allocations: 5.266 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.005486/0.005517, allocations: 1.541 MB / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.00718, allocations: 0.8497 MB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.007236, allocations: 4 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.851e-05/0.007325, allocations: 7.922 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.01042, allocations: 27.8 kB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.01069, allocations: 51.86 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.01088, allocations: 139.6 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.01096, allocations: 19.92 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.01143, allocations: 411.3 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.01153, allocations: 59.81 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.01157, allocations: 8 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.751e-05/0.0116, allocations: 12 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.01167, allocations: 67.72 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.01174, allocations: 47.8 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.01199, allocations: 267 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.012, allocations: 4 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.012, allocations: 11.92 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.012, allocations: 0 / 276.8 MB, free: 13.7 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.0006771/0.01268, allocations: 0.7785 MB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.01272, allocations: 15.98 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.01279, allocations: 44.7 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.01298, allocations: 222.8 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.013, allocations: 4.375 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.01302, allocations: 8.375 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.01631, allocations: 233.7 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.01632, allocations: 8.172 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.01633, allocations: 4.375 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.01634, allocations: 3.938 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.01646, allocations: 158.7 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.017, allocations: 412 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.01719, allocations: 181.8 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.01731, allocations: 158.5 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.01732, allocations: 8 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.01757, allocations: 315.1 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.01757, allocations: 0 / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006587/0.01823, allocations: 0.6463 MB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.01831, allocations: 170.2 kB / 280.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005808/0.01889, allocations: 0.506 MB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.01891, allocations: 33.81 kB / 280.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.01898, allocations: 147.8 kB / 280.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.01901, allocations: 27.83 kB / 280.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-05/0.01911, allocations: 91.16 kB / 281 MB, free: 9.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01926, allocations: 0.4962 MB / 281.5 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.01937, allocations: 162.7 kB / 281.6 MB, free: 8.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.01948, allocations: 166.2 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.01969, allocations: 328.6 kB / 282.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01969, allocations: 0 / 282.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000434/0.02013, allocations: 475 kB / 282.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/0.0202, allocations: 121.5 kB / 282.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.02021, allocations: 7.984 kB / 282.7 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.02022, allocations: 4.031 kB / 282.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.846e-05/0.02024, allocations: 0 / 282.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.02025, allocations: 0 / 282.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.02036, allocations: 16.08 kB / 282.7 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.02041, allocations: 47.98 kB / 282.8 MB, free: 7.129 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.000327/0.02074, allocations: 393.2 kB / 283.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.0208, allocations: 55.7 kB / 283.2 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.02091, allocations: 55.08 kB / 283.2 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.02091, allocations: 0 / 283.2 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.02092, allocations: 0 / 283.2 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.02092, allocations: 4 kB / 283.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.02169, allocations: 0.8353 MB / 284.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.02169, allocations: 0 / 284.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.0217, allocations: 7.875 kB / 284.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.0217, allocations: 0 / 284.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.02172, allocations: 19.98 kB / 284.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.02172, allocations: 0 / 284.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02172, allocations: 0 / 284.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.02214, allocations: 0.6769 MB / 284.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.02236, allocations: 189.3 kB / 285 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.02239, allocations: 15.98 kB / 285 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.02247, allocations: 12 kB / 285 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.02253, allocations: 19.98 kB / 285 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.02257, allocations: 43.92 kB / 285.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002137/0.02278, allocations: 298.9 kB / 285.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02278, allocations: 0 / 285.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.02297, allocations: 48 kB / 285.4 MB, free: 4.297 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.000116/0.02308, allocations: 115 kB / 285.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.02346, allocations: 0.5732 MB / 286.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.02346, allocations: 0 / 286.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.02367, allocations: 416.2 kB / 286.5 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.02409, allocations: 139.1 kB / 286.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.02488, allocations: 0.7484 MB / 287.4 MB, free: 2.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.808e-05/0.02495, allocations: 95.27 kB / 287.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.385e-05/0.025, allocations: 8.719 kB / 287.5 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.02524, allocations: 182.2 kB / 287.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02524, allocations: 0 / 287.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of Templates: time 0.005826/0.03106, allocations: 4.529 MB / 292.2 MB, free: 13.26 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.900378459133208]