Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3554/0.3554, allocations: 34.26 MB / 295.3 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.316e-05, allocations: 2.312 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004385/0.004418, allocations: 1.875 MB / 379.3 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.006813, allocations: 1.08 MB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.00697, allocations: 7.938 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005787/0.007549, allocations: 219.2 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006183/0.008167, allocations: 227 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.008536, allocations: 111.6 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.008972, allocations: 267.2 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.009084, allocations: 17.95 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.009375, allocations: 143.6 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.009645, allocations: 151.7 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.009686, allocations: 19.92 kB / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.009837, allocations: 63.91 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.00994, allocations: 63.77 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.759e-05/0.01003, allocations: 43.8 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.01043, allocations: 239.1 kB / 381.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.01044, allocations: 7.984 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01044, allocations: 0 / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.01045, allocations: 0 / 381.9 MB, free: 14.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008945/0.01135, allocations: 0.504 MB / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.01138, allocations: 8.031 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.0115, allocations: 36.75 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.01187, allocations: 217.8 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.0119, allocations: 8.359 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.01193, allocations: 16.38 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.01221, allocations: 119.2 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.01223, allocations: 3.938 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.01224, allocations: 0 / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01225, allocations: 4 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.01243, allocations: 51.95 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.01307, allocations: 416.3 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.01352, allocations: 121.2 kB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.01364, allocations: 45.81 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.01366, allocations: 4 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.01393, allocations: 121.2 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.01393, allocations: 0 / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001581/0.01551, allocations: 0.5163 MB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.01558, allocations: 85.05 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.01614, allocations: 464.5 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.01617, allocations: 29.7 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.01634, allocations: 168.5 kB / 384.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/0.01642, allocations: 67.44 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.743e-05/0.01649, allocations: 41.7 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.0167, allocations: 346.8 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.01685, allocations: 63.97 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.01702, allocations: 96.59 kB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.01735, allocations: 167.5 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01735, allocations: 4 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004776/0.01783, allocations: 249.3 kB / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01784, allocations: 4 kB / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01785, allocations: 4 kB / 385.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.01787, allocations: 0 / 385.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.01827, allocations: 47.91 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.01828, allocations: 3.938 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.01837, allocations: 12.06 kB / 385.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.01839, allocations: 8 kB / 385.9 MB, free: 10.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001823/0.01857, allocations: 169.8 kB / 386 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.112e-05/0.01864, allocations: 39.77 kB / 386.1 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006215/0.01926, allocations: 285.3 kB / 386.4 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.01927, allocations: 3.984 kB / 386.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.01928, allocations: 7.938 kB / 386.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.01929, allocations: 3.984 kB / 386.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.02036, allocations: 0.6762 MB / 387.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.02036, allocations: 0 / 387.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.02046, allocations: 35.92 kB / 387.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.02046, allocations: 0 / 387.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.02048, allocations: 8 kB / 387.1 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.02049, allocations: 7.938 kB / 387.1 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.02049, allocations: 3.938 kB / 387.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006076/0.0211, allocations: 452.3 kB / 387.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.02114, allocations: 27.81 kB / 387.6 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.02119, allocations: 8 kB / 387.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.02134, allocations: 11.98 kB / 387.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.02141, allocations: 27.91 kB / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.02144, allocations: 8 kB / 387.6 MB, free: 8.273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003991/0.02184, allocations: 343 kB / 388 MB, free: 7.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02184, allocations: 0 / 388 MB, free: 7.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.02224, allocations: 55.88 kB / 388 MB, free: 7.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002575/0.02481, allocations: 0.5569 MB / 388.6 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.02524, allocations: 163.6 kB / 388.7 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02524, allocations: 0 / 388.7 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.02543, allocations: 79.84 kB / 388.8 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.02603, allocations: 64.39 kB / 388.9 MB, free: 7.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.0271, allocations: 0.5803 MB / 389.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.0273, allocations: 165.8 kB / 389.6 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.02742, allocations: 41.92 kB / 389.7 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.0275, allocations: 36.48 kB / 389.7 MB, free: 6.391 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0275, allocations: 0 / 389.7 MB, free: 6.391 MB / 362.7 MB Notification: Performance of Templates: time 0.008616/0.03612, allocations: 3.337 MB / 393 MB, free: 3.102 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.977165251038969]