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.001319/0.001319, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001291/0.001291, allocations: 160.5 kB / 24.56 MB, free: 8 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.9788/0.9788, allocations: 177 MB / 204.8 MB, free: 5.578 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.663e-06/1.663e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.306e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001854/0.001877, allocations: 1.541 MB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.00342, allocations: 0.8574 MB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.003465, allocations: 0 / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.961e-05/0.003565, allocations: 15.86 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.00364, allocations: 23.84 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.003897, allocations: 47.83 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.004059, allocations: 139.7 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.004146, allocations: 19.92 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.004494, allocations: 415.3 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004595, allocations: 55.83 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.004634, allocations: 8 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.317e-05/0.004657, allocations: 12 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.004729, allocations: 71.7 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.004798, allocations: 59.72 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.005021, allocations: 263.1 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005023, allocations: 0 / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005024, allocations: 3.938 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005028, allocations: 0 / 276.4 MB, free: 13.91 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.0005964/0.005625, allocations: 0.7824 MB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.005674, allocations: 11.98 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.005742, allocations: 48.7 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.005931, allocations: 218.9 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.005951, allocations: 8.375 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.005972, allocations: 8.375 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.006254, allocations: 241.7 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.006264, allocations: 192 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.00628, allocations: 4.375 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.006289, allocations: 3.938 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.006394, allocations: 174.7 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.00692, allocations: 0.4915 MB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.007075, allocations: 201.8 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.007179, allocations: 170.5 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.007187, allocations: 3.938 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.007404, allocations: 319.1 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.007406, allocations: 0 / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005863/0.007992, allocations: 0.6815 MB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.008056, allocations: 170.2 kB / 279.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.008663, allocations: 0.6271 MB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.008685, allocations: 29.81 kB / 280.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.008765, allocations: 155.8 kB / 280.7 MB, free: 9.156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.008795, allocations: 19.86 kB / 280.8 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.00888, allocations: 95.09 kB / 280.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.009028, allocations: 0.4962 MB / 281.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.009146, allocations: 158.8 kB / 281.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.00926, allocations: 182.1 kB / 281.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.00948, allocations: 340.6 kB / 282 MB, free: 7.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009482, allocations: 0 / 282 MB, free: 7.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003806/0.009863, allocations: 491 kB / 282.5 MB, free: 7.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/0.009926, allocations: 133.9 kB / 282.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.009931, allocations: 0 / 282.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.009949, allocations: 0 / 282.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.477e-05/0.009974, allocations: 0 / 282.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.00998, allocations: 4 kB / 282.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.866e-05/0.01008, allocations: 19.97 kB / 282.6 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.01012, allocations: 40 kB / 282.7 MB, free: 7 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.0002335/0.01035, allocations: 397.3 kB / 283.1 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.0104, allocations: 55.7 kB / 283.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.01048, allocations: 47.09 kB / 283.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01048, allocations: 0 / 283.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01049, allocations: 0 / 283.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01049, allocations: 4 kB / 283.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007296/0.01122, allocations: 0.9555 MB / 284.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01122, allocations: 0 / 284.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-06/0.01123, allocations: 7.984 kB / 284.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01123, allocations: 4 kB / 284.1 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.01125, allocations: 8 kB / 284.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01125, allocations: 0 / 284.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01125, allocations: 0 / 284.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.01169, allocations: 0.7042 MB / 284.9 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.01191, allocations: 181.4 kB / 285 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.01194, allocations: 12 kB / 285 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.01202, allocations: 11.98 kB / 285.1 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.01211, allocations: 23.97 kB / 285.1 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.01214, allocations: 47.94 kB / 285.1 MB, free: 4.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003471/0.01249, allocations: 430.7 kB / 285.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01249, allocations: 0 / 285.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.01267, allocations: 44 kB / 285.6 MB, free: 3.902 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.0001058/0.01278, allocations: 115 kB / 285.7 MB, free: 3.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000373/0.01315, allocations: 0.5991 MB / 286.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.01315, allocations: 0 / 286.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.01337, allocations: 428 kB / 286.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.01376, allocations: 148.7 kB / 286.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/0.01451, allocations: 0.7528 MB / 287.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.498e-05/0.01459, allocations: 95.27 kB / 287.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.375e-05/0.01461, allocations: 8.719 kB / 287.7 MB, free: 1.516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.01464, allocations: 12.5 kB / 287.7 MB, free: 1.5 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01464, allocations: 0 / 287.7 MB, free: 1.5 MB / 266.7 MB Notification: Performance of Templates: time 0.005706/0.02035, allocations: 4.936 MB / 292.7 MB, free: 12.57 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: 3.015789329074323]