Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001384/0.001384, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001157/0.001157, allocations: 161 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 1.049/1.049, allocations: 177.1 MB / 205 MB, free: 5.246 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.2859/0.2859, allocations: 34.25 MB / 295.7 MB, free: 0.6992 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.238e-05, allocations: 5.688 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002189/0.002211, allocations: 1.642 MB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.00351, allocations: 1.282 MB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.003568, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.003795, allocations: 27.84 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.004094, allocations: 91.47 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.004334, allocations: 95.64 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.004472, allocations: 79.7 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004573, allocations: 11.98 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.004637, allocations: 39.89 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.004729, allocations: 31.91 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004746, allocations: 4 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.004889, allocations: 91.88 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.004934, allocations: 19.92 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.00497, allocations: 15.94 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.005202, allocations: 143.5 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005204, allocations: 0 / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005205, allocations: 0 / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.005209, allocations: 3.938 kB / 381.6 MB, free: 15.06 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.0004231/0.005632, allocations: 428 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005668, allocations: 8.031 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.005715, allocations: 20.88 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.005865, allocations: 152.4 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.005875, allocations: 384 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.005904, allocations: 4.375 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.006084, allocations: 108 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006095, allocations: 4.188 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.006106, allocations: 8.109 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.006113, allocations: 0 / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.006156, allocations: 15.97 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.006506, allocations: 287.7 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.907e-05/0.006585, allocations: 51.05 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.006614, allocations: 23.73 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.006643, allocations: 3.938 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.00667, allocations: 37.39 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.006671, allocations: 0 / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000412/0.007083, allocations: 141.4 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.007117, allocations: 77.11 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.007234, allocations: 200.4 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.007244, allocations: 29.7 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.007295, allocations: 146.8 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.00732, allocations: 31.73 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.00735, allocations: 27.38 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.007462, allocations: 0.4923 MB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.007484, allocations: 8 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.007523, allocations: 57.06 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.674e-05/0.007569, allocations: 35.62 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.00757, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.093e-05/0.007661, allocations: 77.58 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.007672, allocations: 4 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007678, allocations: 3.984 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.007692, allocations: 4.031 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.007766, allocations: 12 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.007771, allocations: 4 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.007792, allocations: 3.984 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.007798, allocations: 4 kB / 384.1 MB, free: 12.35 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 6.721e-05/0.007865, allocations: 160.5 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.007888, allocations: 11.95 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.008024, allocations: 94.67 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.008026, allocations: 0 / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.008028, allocations: 0 / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.008033, allocations: 11.98 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.008287, allocations: 345.4 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.008289, allocations: 3.938 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.008326, allocations: 12 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.008329, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.008338, allocations: 7.984 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.00834, allocations: 7.938 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-07/0.008341, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.008458, allocations: 224.2 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-06/0.008466, allocations: 3.953 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.00848, allocations: 11.98 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.611e-05/0.008516, allocations: 8 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.008548, allocations: 7.984 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.008551, allocations: 3.938 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.858e-05/0.00861, allocations: 152.7 kB / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00861, allocations: 0 / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.0088, allocations: 47.8 kB / 385.2 MB, free: 11.18 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 (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.001047/0.009846, allocations: 488.9 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.009959, allocations: 35.67 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009961, allocations: 0 / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.009992, allocations: 31.61 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.01019, allocations: 28.23 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.01052, allocations: 194.3 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.01057, allocations: 63.34 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.01061, allocations: 17.02 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.01065, allocations: 20.48 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01065, allocations: 0 / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.003585/0.01423, allocations: 1.914 MB / 388 MB, free: 8.531 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.3254790706560016]