Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001915/0.001915, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.001961/0.001961, allocations: 161.3 kB / 24.27 MB, free: 152 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.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3981/0.3981, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 375.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.35e-05/6.645e-05, allocations: 5.266 kB / 375.4 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.007072/0.007138, allocations: 1.735 MB / 377.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.009496, allocations: 0.9937 MB / 378.1 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.009569, allocations: 0 / 378.1 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.0099, allocations: 43.69 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.01026, allocations: 107.5 kB / 378.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.0105, allocations: 79.66 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.0107, allocations: 99.64 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.01081, allocations: 11.98 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.01093, allocations: 55.83 kB / 378.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.289e-05/0.01103, allocations: 27.91 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.01105, allocations: 4 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.01117, allocations: 51.84 kB / 378.6 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.01125, allocations: 19.92 kB / 378.6 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.0113, allocations: 19.88 kB / 378.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.01155, allocations: 119.6 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.01156, allocations: 4 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01156, allocations: 0 / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.01157, 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.0007624/0.01233, allocations: 455.5 kB / 379.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.01237, allocations: 8.031 kB / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.01244, allocations: 16.84 kB / 379.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.01272, allocations: 164.8 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.01274, allocations: 384 / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.01276, allocations: 8.312 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.01291, allocations: 54.23 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.01293, allocations: 7.938 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.01294, allocations: 0 / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.01294, allocations: 0 / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.01302, allocations: 19.98 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.01351, allocations: 295.8 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.01371, allocations: 59.17 kB / 379.8 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.01377, allocations: 27.61 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.01379, allocations: 0 / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.01396, allocations: 76.98 kB / 379.9 MB, free: 252 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.027e-06/0.01397, allocations: 7.984 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006396/0.01461, allocations: 189.3 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.01468, allocations: 51.41 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.01496, allocations: 249.9 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.01499, allocations: 29.7 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.01512, allocations: 158.8 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.01516, allocations: 27.81 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/0.01523, allocations: 35.36 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003107/0.01554, allocations: 0.4962 MB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.0156, allocations: 20 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.01568, allocations: 43.36 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.01582, allocations: 75.23 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.01582, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002241/0.01604, allocations: 101.6 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.01607, allocations: 10.17 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01607, allocations: 0 / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.01609, allocations: 4 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.0162, allocations: 16.31 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.01621, allocations: 0 / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.01625, allocations: 4 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.01627, allocations: 12.02 kB / 381.4 MB, free: 14.65 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.0001525/0.01642, allocations: 176.5 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.01645, allocations: 15.91 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.01673, allocations: 119.2 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01673, allocations: 0 / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.01673, allocations: 3.938 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01674, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.0173, allocations: 420.9 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.01732, allocations: 4 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.01736, allocations: 8 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01736, allocations: 4.031 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.01737, allocations: 0 / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01737, allocations: 4 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01737, allocations: 3.938 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.0177, allocations: 279.4 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.01773, allocations: 11.91 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.01775, allocations: 4 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.01783, allocations: 0 / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.01787, allocations: 7.984 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.01789, allocations: 4 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001729/0.01806, allocations: 200.1 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01806, allocations: 0 / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00025/0.01831, allocations: 20 kB / 382.6 MB, free: 13.3 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.003433/0.02174, allocations: 0.4916 MB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.02199, allocations: 67.59 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02199, allocations: 0 / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.02208, allocations: 39.61 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.02246, allocations: 38.91 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.02303, allocations: 229.9 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.02315, allocations: 92.94 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.02321, allocations: 29.27 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.02326, allocations: 16.5 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02326, allocations: 0 / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Templates: time 0.005976/0.02923, allocations: 1.873 MB / 385.5 MB, free: 10.61 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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: 5.024840306024998]