Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.002046/0.002046, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002162/0.002162, allocations: 161.7 kB / 24.27 MB, free: 172 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.516/1.516, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3431/0.3431, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.041e-05, allocations: 2.312 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003294/0.003325, allocations: 1.718 MB / 377.1 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.005367, allocations: 0.9781 MB / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.005434, allocations: 0 / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.005728, allocations: 43.78 kB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.006103, allocations: 103.5 kB / 378.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.006331, allocations: 83.61 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.006529, allocations: 103.6 kB / 378.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.006617, allocations: 11.98 kB / 378.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.006739, allocations: 51.83 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.006822, allocations: 31.91 kB / 378.5 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.006844, allocations: 4 kB / 378.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.006946, allocations: 43.92 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.00701, allocations: 27.86 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.007063, allocations: 19.92 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.007311, allocations: 131.5 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.007315, allocations: 0 / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007316, allocations: 0 / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.00732, allocations: 0 / 378.7 MB, free: 1.547 MB / 346.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.0006291/0.007949, allocations: 357.4 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.007988, allocations: 16.03 kB / 379 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.008051, allocations: 20.84 kB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.008362, allocations: 158.3 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.008378, allocations: 4.312 kB / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.008402, allocations: 4.375 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.008565, allocations: 54.23 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.008579, allocations: 3.938 kB / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.008595, allocations: 11.98 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.008599, allocations: 0 / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.455e-05/0.008693, allocations: 19.98 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.00908, allocations: 232.6 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.009274, allocations: 58.61 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/0.009339, allocations: 24.8 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.009354, allocations: 0 / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.009527, allocations: 75.33 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.009528, allocations: 0 / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006548/0.01018, allocations: 185.3 kB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.01023, allocations: 55.41 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.01052, allocations: 243.6 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.01056, allocations: 29.7 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.01065, allocations: 112 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.01069, allocations: 23.84 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.01074, allocations: 25.66 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.01093, allocations: 326.8 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.01099, allocations: 19.98 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/0.01108, allocations: 37.7 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.01122, allocations: 65.62 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01122, allocations: 7.938 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000227/0.01145, allocations: 113.5 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01146, allocations: 4 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01147, allocations: 4 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/0.0115, allocations: 0 / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.0116, allocations: 15.98 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01161, allocations: 3.938 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.01166, allocations: 12.36 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01168, allocations: 4 kB / 381 MB, free: 15.08 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 (10): * Single equations (assignments): 10 * 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.0001376/0.01181, allocations: 141.7 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.01185, allocations: 15.91 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.01214, allocations: 127.2 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01215, allocations: 4 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01215, allocations: 0 / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01215, allocations: 0 / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.01269, allocations: 358.9 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01269, allocations: 0 / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.01274, allocations: 11.98 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01274, allocations: 4.031 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.01275, allocations: 4 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01275, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.01276, allocations: 4 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.01306, allocations: 216.2 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.01309, allocations: 15.94 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.01311, allocations: 4 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.01319, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.01324, allocations: 7.984 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.01326, allocations: 8 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001997/0.01345, allocations: 183.1 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01345, allocations: 4 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.01372, allocations: 20 kB / 382.1 MB, free: 13.9 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 (9): * Single equations (assignments): 7 * 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.002228/0.01595, allocations: 495.9 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.01615, allocations: 63.91 kB / 382.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01615, allocations: 0 / 382.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.01624, allocations: 27.98 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.01664, allocations: 46.75 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.01718, allocations: 268.9 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.0173, allocations: 100.9 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.01736, allocations: 29.27 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.0174, allocations: 16.5 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0174, allocations: 0 / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Templates: time 0.005395/0.0228, allocations: 1.884 MB / 385 MB, free: 11.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.78074283094611]