Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.0009325/0.0009325, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009743/0.0009743, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2636/0.2636, allocations: 34.26 MB / 296 MB, free: 0.6875 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.678e-05, allocations: 2.312 kB / 378.1 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002805/0.002832, allocations: 1.782 MB / 379.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004157, allocations: 1.013 MB / 380.9 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.938e-05/0.004257, allocations: 0 / 380.9 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.004625, allocations: 87.64 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.004973, allocations: 127.4 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.00518, allocations: 79.59 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.005398, allocations: 119.7 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.005512, allocations: 19.92 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.005625, allocations: 63.81 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.005764, allocations: 71.84 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.005783, allocations: 4 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.005888, allocations: 59.92 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.005949, allocations: 31.84 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.005996, allocations: 19.94 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.006231, allocations: 123.4 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.006235, allocations: 0 / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006236, allocations: 4 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.006242, allocations: 0 / 381.7 MB, free: 15.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006755/0.006917, allocations: 467.7 kB / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.006966, allocations: 8.031 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.007023, allocations: 24.78 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.007222, allocations: 161.2 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.007249, allocations: 8.312 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.007284, allocations: 4.375 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.007507, allocations: 66.92 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.007525, allocations: 3.938 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.00754, allocations: 4 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.007553, allocations: 0 / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.556e-05/0.007619, allocations: 15.98 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.008077, allocations: 295.7 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.008283, allocations: 66.91 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.008318, allocations: 19.81 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.008335, allocations: 4 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.00846, allocations: 69.03 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.008461, allocations: 0 / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007733/0.009235, allocations: 229.2 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.009284, allocations: 55.41 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.009459, allocations: 259.1 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.009479, allocations: 33.7 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.009551, allocations: 154.9 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.009592, allocations: 39.69 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.009644, allocations: 39.3 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.009783, allocations: 0.5 MB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.009819, allocations: 23.98 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/0.00987, allocations: 39.36 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.691e-05/0.009957, allocations: 63.31 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.009958, allocations: 0 / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001577/0.01012, allocations: 109.6 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.01014, allocations: 8 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01014, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.01016, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.01023, allocations: 23.92 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.01025, allocations: 7.938 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.01028, allocations: 4 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.01029, allocations: 4 kB / 384.5 MB, free: 12.26 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 9.177e-05/0.01038, allocations: 167.8 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.0104, allocations: 23.92 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.01063, allocations: 131.2 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01063, allocations: 0 / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.01064, allocations: 0 / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.01065, allocations: 0 / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.0111, allocations: 452.5 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.0111, allocations: 0 / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.01114, allocations: 15.98 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.01114, allocations: 7.984 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.01115, allocations: 4.062 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01116, allocations: 4 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.01116, allocations: 3.938 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.01136, allocations: 287.1 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.01138, allocations: 15.91 kB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.01141, allocations: 4 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.01145, allocations: 4 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.01151, allocations: 15.92 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.01153, allocations: 4 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.916e-05/0.01162, allocations: 179.1 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01162, allocations: 8 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.01183, allocations: 31.92 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001328/0.01316, allocations: 495.8 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.01333, allocations: 71.53 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.01334, allocations: 4 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.678e-05/0.01339, allocations: 35.61 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.01369, allocations: 34.55 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.01419, allocations: 265.5 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.01443, allocations: 75.33 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.01449, allocations: 20.81 kB / 386.8 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.01453, allocations: 20.5 kB / 386.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01453, allocations: 0 / 386.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of Templates: time 0.00513/0.01966, allocations: 2.123 MB / 388.9 MB, free: 7.863 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.334776148898527]