Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.002429/0.002429, 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.001942/0.001942, 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.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3729/0.3729, allocations: 32.8 MB / 293.9 MB, free: 1.184 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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 375.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/3.928e-05, allocations: 5.828 kB / 375.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003482/0.003521, allocations: 1.607 MB / 376.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.005639, allocations: 1.262 MB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.005694, allocations: 0 / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.005915, allocations: 31.73 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.006239, allocations: 83.55 kB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.006579, allocations: 107.7 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.006765, allocations: 79.7 kB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.006862, allocations: 11.98 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.006948, allocations: 27.92 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.007083, allocations: 31.89 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.007106, allocations: 4 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.007318, allocations: 91.81 kB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.007372, allocations: 11.94 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.007415, allocations: 19.97 kB / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.00775, allocations: 147.5 kB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.007756, allocations: 0 / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007757, allocations: 0 / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.007763, allocations: 4 kB / 378.8 MB, free: 1.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007319/0.008495, allocations: 423.7 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.008545, allocations: 12.03 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.008609, allocations: 16.83 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.008875, allocations: 144.4 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.008884, allocations: 384 / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.008904, allocations: 384 / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.009098, allocations: 91.33 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.009108, allocations: 192 / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.009125, allocations: 8.125 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.009129, allocations: 4 kB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.349e-05/0.009213, allocations: 15.98 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.009635, allocations: 283.7 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.00985, allocations: 47.05 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.009902, allocations: 19.77 kB / 379.8 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.009924, allocations: 7.938 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.009958, allocations: 33.39 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.009959, allocations: 0 / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005552/0.01051, allocations: 133.4 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.0106, allocations: 81.05 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.01082, allocations: 211.5 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.01084, allocations: 25.7 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.01094, allocations: 146.9 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.01096, allocations: 15.91 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.01102, allocations: 23.38 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002662/0.01128, allocations: 0.4923 MB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.01135, allocations: 15.98 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.01144, allocations: 61.08 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.01156, allocations: 43.66 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.01156, allocations: 0 / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001876/0.01174, allocations: 81.7 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.01176, allocations: 8 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.01176, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01178, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.01184, allocations: 11.98 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.01184, allocations: 0 / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.01188, allocations: 8.031 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.01189, allocations: 3.938 kB / 381.2 MB, free: 14.74 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 (5): * Single equations (assignments): 5 * 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.0001401/0.01203, allocations: 160.6 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.01208, allocations: 11.89 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.01234, allocations: 90.02 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01234, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01234, allocations: 288 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01235, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.01283, allocations: 345.4 kB / 381.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01283, allocations: 4 kB / 381.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.01288, allocations: 11.98 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01289, allocations: 0 / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.0129, allocations: 3.984 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.0129, allocations: 4 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0129, allocations: 0 / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.01317, allocations: 223.8 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.0132, allocations: 11.94 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.01322, allocations: 256 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.01329, allocations: 8 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.01332, allocations: 7.984 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.01333, allocations: 8 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.01346, allocations: 153.5 kB / 382.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01346, allocations: 0 / 382.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.01374, allocations: 39.86 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00349/0.01723, allocations: 0.5302 MB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.01743, allocations: 43.61 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01743, allocations: 0 / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.01751, allocations: 27.67 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.01783, allocations: 30.59 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.0183, allocations: 177.9 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.409e-05/0.01839, allocations: 71.33 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.237e-05/0.01845, allocations: 19.92 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.01849, allocations: 12.5 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of SimCode: time 5.72e-07/0.01849, allocations: 4 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of Templates: time 0.005797/0.02429, allocations: 1.839 MB / 385 MB, free: 11.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.153681989060715]