Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001918/0.001918, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.001982/0.001982, allocations: 161.3 kB / 24.27 MB, free: 148 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.573/1.573, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3724/0.3724, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.147e-05, allocations: 2.312 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003393/0.003424, allocations: 1.606 MB / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.004598, allocations: 0.5298 MB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.00465, allocations: 3.938 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.004872, allocations: 27.78 kB / 379.5 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.005156, allocations: 79.56 kB / 379.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.005472, allocations: 115.7 kB / 379.7 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.005637, allocations: 67.77 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.005735, allocations: 7.984 kB / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.005828, allocations: 27.92 kB / 379.8 MB, free: 472 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.005892, allocations: 23.91 kB / 379.8 MB, free: 448 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.005911, allocations: 4 kB / 379.8 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.719e-05/0.005999, allocations: 31.92 kB / 379.8 MB, free: 412 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.006049, allocations: 11.94 kB / 379.8 MB, free: 400 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.006082, allocations: 15.94 kB / 379.9 MB, free: 384 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.006278, allocations: 83.7 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006281, allocations: 0 / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006281, allocations: 0 / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.006285, allocations: 0 / 379.9 MB, free: 300 kB / 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.0005925/0.006878, allocations: 423.7 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.006916, allocations: 12.03 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.006966, allocations: 8.891 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.007171, allocations: 136.5 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.007181, allocations: 384 / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.007203, allocations: 4.375 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.007331, allocations: 54.23 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.007343, allocations: 192 / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.007353, allocations: 4.125 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.007357, allocations: 3.938 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.759e-05/0.007444, allocations: 19.92 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.007875, allocations: 287.8 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.008088, allocations: 47.05 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.008137, allocations: 11.69 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.008156, allocations: 3.938 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.008188, allocations: 45.33 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.008189, allocations: 0 / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005364/0.008725, allocations: 129.8 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.00877, allocations: 51.41 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.008978, allocations: 220.9 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.009007, allocations: 25.7 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.0091, allocations: 142.9 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.009131, allocations: 19.83 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.009176, allocations: 23.38 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.009446, allocations: 0.5079 MB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.009503, allocations: 8 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.009567, allocations: 15.98 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.009685, allocations: 43.86 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.009686, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.009869, allocations: 77.56 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.009882, allocations: 4 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.009886, allocations: 0 / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.0099, allocations: 7.984 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.009963, allocations: 8 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.009967, allocations: 4 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.01, allocations: 3.984 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.01002, allocations: 4 kB / 382.3 MB, free: 13.77 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.0001245/0.01014, allocations: 160.5 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.01018, allocations: 15.91 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.01041, allocations: 86.05 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01041, allocations: 0 / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01042, allocations: 8 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01042, allocations: 0 / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.0109, allocations: 341.4 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01091, allocations: 3.938 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.01096, allocations: 11.98 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01096, allocations: 0 / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.01097, allocations: 3.938 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.01098, allocations: 4 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01098, allocations: 0 / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.01124, allocations: 228 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.01126, allocations: 11.95 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.01127, allocations: 0 / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.01133, allocations: 4 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.01137, allocations: 7.984 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.01138, allocations: 4 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.01151, allocations: 155.1 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01151, allocations: 0 / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.01176, allocations: 23.92 kB / 383.3 MB, free: 12.64 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.00284/0.0146, allocations: 433.6 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.01479, allocations: 51.61 kB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0148, allocations: 0 / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.01488, allocations: 35.61 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.01519, allocations: 19.17 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.01568, allocations: 202.4 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.812e-05/0.01578, allocations: 79.33 kB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.01583, allocations: 11.98 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.01587, allocations: 12.5 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01587, allocations: 0 / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of Templates: time 0.004431/0.0203, allocations: 1.17 MB / 385.3 MB, free: 10.78 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.795514437020756]