Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0009235/0.0009235, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001021/0.001021, allocations: 163.5 kB / 24.99 MB, free: 8.801 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.9463/0.9463, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2536/0.2536, allocations: 34.87 MB / 296.6 MB, free: 0.5742 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 378.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.724e-05, allocations: 2.312 kB / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002142/0.002159, allocations: 1.772 MB / 380.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.003425, allocations: 1.02 MB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.003502, allocations: 0 / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.003788, allocations: 39.7 kB / 381.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.004057, allocations: 103.5 kB / 381.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.004215, allocations: 87.53 kB / 381.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.004366, allocations: 111.7 kB / 382 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.15e-05/0.004458, allocations: 4 kB / 382 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.749e-05/0.004545, allocations: 63.77 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.39e-05/0.004629, allocations: 35.89 kB / 382.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.004647, allocations: 4 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.004962, allocations: 103.8 kB / 382.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.005017, allocations: 23.91 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.005059, allocations: 19.94 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.005305, allocations: 167.4 kB / 382.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005307, allocations: 4 kB / 382.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005307, allocations: 4 kB / 382.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.005312, allocations: 0 / 382.4 MB, free: 14.78 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004824/0.005794, allocations: 459.7 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.005832, allocations: 12.02 kB / 382.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.005888, allocations: 16.84 kB / 382.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.006072, allocations: 152.4 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.006089, allocations: 384 / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.006111, allocations: 4.375 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.006258, allocations: 112 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.006268, allocations: 4.188 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006278, allocations: 4.359 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.006287, allocations: 3.938 kB / 383.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.468e-05/0.006322, allocations: 11.94 kB / 383.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.006621, allocations: 275.8 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.006733, allocations: 51.11 kB / 383.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.006766, allocations: 27.73 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.006777, allocations: 4 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.006877, allocations: 76.92 kB / 383.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.006878, allocations: 0 / 383.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004301/0.007308, allocations: 177.3 kB / 383.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.007355, allocations: 77.11 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.007515, allocations: 220.7 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.00753, allocations: 25.7 kB / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.007586, allocations: 146.9 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.007619, allocations: 31.7 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.007661, allocations: 39.36 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.007787, allocations: 0.4884 MB / 384.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.007822, allocations: 27.92 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.477e-05/0.007876, allocations: 76.75 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.898e-05/0.007945, allocations: 51.38 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007947, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001358/0.008083, allocations: 109.4 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.0081, allocations: 8 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.008105, allocations: 0 / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.008121, allocations: 0 / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.00821, allocations: 19.98 kB / 385.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.008217, allocations: 8 kB / 385.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.008248, allocations: 4 kB / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.008257, allocations: 8 kB / 385.1 MB, free: 11.84 MB / 362.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 7.645e-05/0.008333, allocations: 160.6 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.008355, allocations: 23.83 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.008517, allocations: 110.5 kB / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008519, allocations: 0 / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.008522, allocations: 3.938 kB / 385.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.008526, allocations: 3.938 kB / 385.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.008847, allocations: 409 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.00885, allocations: 3.984 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.008883, allocations: 16 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.008886, allocations: 7.938 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.008894, allocations: 0 / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.008897, allocations: 7.984 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008899, allocations: 0 / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.009054, allocations: 267.5 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.009068, allocations: 7.953 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.009087, allocations: 0 / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.76e-05/0.009135, allocations: 11.98 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.00917, allocations: 12.02 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.009182, allocations: 4 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.247e-05/0.009265, allocations: 164.1 kB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009265, allocations: 7.875 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.00948, allocations: 51.86 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001115/0.01059, allocations: 0.5259 MB / 386.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.01075, allocations: 71.22 kB / 386.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01075, allocations: 64 / 386.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.0108, allocations: 39.61 kB / 387 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.01105, allocations: 43.36 kB / 387 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.01147, allocations: 218.1 kB / 387.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.01151, allocations: 63.34 kB / 387.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.795e-05/0.01156, allocations: 16.64 kB / 387.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.01159, allocations: 28.48 kB / 387.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.0116, allocations: 4.062 kB / 387.3 MB, free: 9.605 MB / 362.7 MB Notification: Performance of Templates: time 0.004393/0.01599, allocations: 2.667 MB / 390 MB, free: 6.961 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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.9991307971067727]