Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001887/0.001887, allocations: 95.61 kB / 20.96 MB, free: 3.449 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.001932/0.001932, allocations: 161.3 kB / 24.27 MB, free: 144 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.616/1.616, 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.3573/0.3573, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.284e-05, allocations: 9.625 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003371/0.003404, allocations: 1.677 MB / 377 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.004651, allocations: 0.5725 MB / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.004711, allocations: 0 / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.005416, allocations: 455 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.00594, allocations: 299.1 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.006417, allocations: 179.5 kB / 378.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.006703, allocations: 179.6 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.006816, allocations: 16.22 kB / 378.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.007016, allocations: 123.7 kB / 378.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.007326, allocations: 243.6 kB / 379 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.007359, allocations: 4 kB / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.007489, allocations: 51.91 kB / 379.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.007607, allocations: 83.72 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.007673, allocations: 43.73 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.008086, allocations: 258.9 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.00809, allocations: 0 / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.008091, allocations: 0 / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.008098, allocations: 0 / 379.4 MB, free: 0.7852 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009832/0.009081, allocations: 0.724 MB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.009121, allocations: 12.03 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.009228, allocations: 47.84 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.009556, allocations: 244.9 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.00957, allocations: 8.312 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.009596, allocations: 8.328 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.009746, allocations: 54.23 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.009758, allocations: 192 / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.009767, allocations: 0.9375 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.009774, allocations: 4 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.009884, allocations: 23.92 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/0.01073, allocations: 479.6 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.01087, allocations: 54.97 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.01093, allocations: 27.8 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.01095, allocations: 0 / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.01099, allocations: 37.33 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.01099, allocations: 0 / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009976/0.01199, allocations: 292.5 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.01204, allocations: 55.41 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/0.01285, allocations: 0.6746 MB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.01287, allocations: 25.7 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.01315, allocations: 298.8 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.01319, allocations: 27.75 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.01325, allocations: 31.38 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003576/0.01361, allocations: 0.5704 MB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.01369, allocations: 15.98 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.01375, allocations: 19.98 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.01391, allocations: 67.77 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01391, allocations: 4 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002513/0.01416, allocations: 129.3 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.01418, allocations: 4 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01418, allocations: 0 / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.0142, allocations: 4 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.0143, allocations: 15.98 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.01431, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.01436, allocations: 8 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.01437, allocations: 4 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001375/0.01451, allocations: 168.5 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.01457, allocations: 43.72 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.01491, allocations: 133.5 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01491, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01491, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01491, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.01578, allocations: 0.5712 MB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01578, allocations: 0 / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.01585, allocations: 19.92 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.01586, allocations: 4 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01587, allocations: 3.938 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01587, allocations: 0 / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.01588, allocations: 4 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.01623, allocations: 291.2 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.01629, allocations: 35.72 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.01632, allocations: 4.031 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.0164, allocations: 4 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.01645, allocations: 11.92 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.01646, allocations: 7.938 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005255/0.01699, allocations: 442.8 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01699, allocations: 0 / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.01727, allocations: 31.94 kB / 385.1 MB, free: 10.8 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.003388/0.02066, allocations: 487 kB / 385.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.02092, allocations: 67.62 kB / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.02093, allocations: 7.938 kB / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/0.02102, allocations: 39.61 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.02141, allocations: 25.95 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.02252, allocations: 0.6365 MB / 386.4 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.02278, allocations: 212.1 kB / 386.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.228e-05/0.02285, allocations: 16.72 kB / 386.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.0229, allocations: 20.48 kB / 386.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0229, allocations: 4 kB / 386.6 MB, free: 9.457 MB / 362.7 MB Notification: Performance of Templates: time 0.006149/0.02905, allocations: 1.594 MB / 388.2 MB, free: 7.871 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.996683208970353]