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.000898/0.000898, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009574/0.0009574, allocations: 157.5 kB / 24.99 MB, free: 9.289 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.9595/0.9595, allocations: 177 MB / 205.2 MB, free: 5.609 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.673e-06/1.673e-06, allocations: 0 / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.968e-05, allocations: 2.312 kB / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00267/0.0027, allocations: 1.544 MB / 274.5 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.004623, allocations: 0.8535 MB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.004689, allocations: 4 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.349e-05/0.004773, allocations: 15.86 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.004847, allocations: 15.88 kB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.005109, allocations: 51.86 kB / 275.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.005314, allocations: 139.7 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.005407, allocations: 15.94 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.005899, allocations: 415.2 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.006029, allocations: 59.81 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.006066, allocations: 8 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.64e-05/0.006092, allocations: 12 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.079e-05/0.006183, allocations: 67.72 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.901e-05/0.006272, allocations: 51.8 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.006628, allocations: 267 kB / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.006632, allocations: 0 / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006633, allocations: 0 / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.006641, allocations: 4 kB / 276.5 MB, free: 14.26 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.000789/0.00743, allocations: 0.7901 MB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.007474, allocations: 15.98 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.007557, allocations: 48.7 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.007781, allocations: 215 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.007803, allocations: 4.375 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.007828, allocations: 16.38 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.008094, allocations: 241.7 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.008102, allocations: 4.125 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.008122, allocations: 8.312 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.008132, allocations: 7.938 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.008242, allocations: 162.8 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.008738, allocations: 0.4954 MB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.008863, allocations: 189.8 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.913e-05/0.008962, allocations: 178.5 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.008969, allocations: 3.938 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.009165, allocations: 315.2 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.009166, allocations: 0 / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005126/0.009678, allocations: 0.685 MB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.009732, allocations: 166.2 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.01026, allocations: 0.6349 MB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.01028, allocations: 29.7 kB / 280.7 MB, free: 9.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.01033, allocations: 147.9 kB / 280.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.01036, allocations: 35.78 kB / 280.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.01043, allocations: 83.17 kB / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01053, allocations: 0.4923 MB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.01064, allocations: 166.8 kB / 281.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.01074, allocations: 182.1 kB / 281.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.01092, allocations: 333 kB / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.01092, allocations: 0 / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003362/0.01126, allocations: 491 kB / 282.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.01131, allocations: 133.8 kB / 282.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.01131, allocations: 0 / 282.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.01132, allocations: 0 / 282.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-05/0.01134, allocations: 7.984 kB / 282.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.01134, allocations: 0 / 282.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.338e-05/0.01143, allocations: 11.95 kB / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.01146, allocations: 44.05 kB / 282.8 MB, free: 7.336 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.0002083/0.01167, allocations: 393.2 kB / 283.1 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.01171, allocations: 55.7 kB / 283.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.01178, allocations: 51.08 kB / 283.2 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01178, allocations: 8 kB / 283.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01178, allocations: 0 / 283.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.01178, allocations: 0 / 283.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.01244, allocations: 0.9516 MB / 284.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01244, allocations: 4.188 kB / 284.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.01245, allocations: 4 kB / 284.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01245, allocations: 0 / 284.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.01247, allocations: 11.98 kB / 284.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01247, allocations: 4 kB / 284.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01247, allocations: 0 / 284.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.0129, allocations: 0.7003 MB / 284.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.01313, allocations: 185.4 kB / 285.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.01316, allocations: 12 kB / 285.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.01324, allocations: 8 kB / 285.1 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.453e-05/0.01334, allocations: 31.91 kB / 285.2 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.01339, allocations: 43.92 kB / 285.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005176/0.01391, allocations: 430.7 kB / 285.6 MB, free: 4.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01391, allocations: 0 / 285.6 MB, free: 4.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.01421, allocations: 44 kB / 285.7 MB, free: 4.234 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.0001465/0.01435, allocations: 115 kB / 285.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000477/0.01483, allocations: 0.5964 MB / 286.4 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01483, allocations: 0 / 286.4 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.01503, allocations: 432 kB / 286.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.01539, allocations: 143.6 kB / 286.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.01609, allocations: 0.7486 MB / 287.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.471e-05/0.01616, allocations: 95.27 kB / 287.8 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.048e-05/0.0162, allocations: 16.77 kB / 287.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.01622, allocations: 12.5 kB / 287.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01622, allocations: 0 / 287.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of Templates: time 0.005651/0.02187, allocations: 4.932 MB / 292.7 MB, free: 12.91 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.828487769002095]