Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001001/0.001001, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.00174/0.00174, allocations: 165 kB / 24.56 MB, free: 12 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 0.9905/0.9905, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.3055/0.3055, allocations: 32.81 MB / 294.3 MB, free: 1.262 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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.363e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002405/0.002429, allocations: 1.638 MB / 377.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007925/0.003221, allocations: 0.5298 MB / 378.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.003287, allocations: 4 kB / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.003571, allocations: 27.78 kB / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.003868, allocations: 83.55 kB / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.004109, allocations: 87.7 kB / 378.4 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.004286, allocations: 79.7 kB / 378.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.004425, allocations: 7.984 kB / 378.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.00449, allocations: 23.92 kB / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.004561, allocations: 23.91 kB / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.004581, allocations: 4 kB / 378.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.004665, allocations: 31.92 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.004717, allocations: 11.94 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.004748, allocations: 8 kB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.0049, allocations: 87.59 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.004903, allocations: 0 / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.004904, allocations: 0 / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.004909, allocations: 4 kB / 378.7 MB, free: 1.973 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.0004118/0.005321, allocations: 416.1 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.005356, allocations: 8.031 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.005396, allocations: 16.89 kB / 379.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.005537, allocations: 129.1 kB / 379.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.005547, allocations: 8.375 kB / 379.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.005571, allocations: 384 / 379.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.005693, allocations: 62.64 kB / 379.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.005703, allocations: 0 / 379.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.005713, allocations: 0 / 379.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005719, allocations: 4 kB / 379.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.005751, allocations: 11.98 kB / 379.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.006061, allocations: 279.7 kB / 379.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.006265, allocations: 50.92 kB / 379.6 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.006291, allocations: 7.688 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.006315, allocations: 4 kB / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.006338, allocations: 33.39 kB / 379.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.006339, allocations: 0 / 379.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003878/0.006727, allocations: 97.8 kB / 379.8 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.006769, allocations: 67.33 kB / 379.9 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.006916, allocations: 212.8 kB / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.006928, allocations: 25.7 kB / 380.1 MB, free: 408 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.007003, allocations: 154.8 kB / 380.2 MB, free: 248 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.007027, allocations: 11.84 kB / 380.2 MB, free: 236 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.007063, allocations: 27.36 kB / 380.3 MB, free: 200 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.007256, allocations: 0.4961 MB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.007277, allocations: 4 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.568e-05/0.007293, allocations: 8 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.007338, allocations: 23.69 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.00734, allocations: 3.938 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.082e-05/0.007431, allocations: 65.83 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.007447, allocations: 4 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007452, allocations: 48 / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.00747, allocations: 3.984 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.00752, allocations: 15.98 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.007525, allocations: 0 / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.007543, allocations: 4 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.007553, allocations: 4 kB / 380.9 MB, free: 15.54 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 8.011e-05/0.007633, allocations: 156.5 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.007654, allocations: 15.89 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.007795, allocations: 74.09 kB / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.007798, allocations: 0 / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.007803, allocations: 0 / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.007809, allocations: 3.984 kB / 381.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.008057, allocations: 317.4 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.008059, allocations: 7.938 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.008087, allocations: 11.98 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.008089, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.008097, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008099, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0081, allocations: 4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.008221, allocations: 211.8 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.00823, allocations: 3.953 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.008243, allocations: 8.25 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.008275, allocations: 11.92 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.00831, allocations: 4 kB / 381.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.008313, allocations: 0 / 381.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.951e-05/0.008382, allocations: 161.6 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008382, allocations: 3.938 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.008541, allocations: 11.94 kB / 381.9 MB, free: 14.48 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.001144/0.009685, allocations: 386.7 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.009832, allocations: 31.67 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.009835, allocations: 0 / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.009862, allocations: 27.61 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.01015, allocations: 12 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.01059, allocations: 182.3 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.01063, allocations: 66.53 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.427e-05/0.01066, allocations: 7.984 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.01071, allocations: 20.48 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.305e-06/0.01071, allocations: 0 / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003527/0.01423, allocations: 1.173 MB / 383.8 MB, free: 12.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.2081794613040984]