Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001008/0.001008, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001191/0.001191, allocations: 166.4 kB / 25 MB, free: 8.336 MB / 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.9843/0.9843, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2489/0.2489, allocations: 34.26 MB / 296 MB, free: 0.707 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.217e-05, allocations: 5.688 kB / 378 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00216/0.002182, allocations: 1.696 MB / 379.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007448/0.002927, allocations: 0.5375 MB / 380.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.002988, allocations: 0 / 380.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.003467, allocations: 459.1 kB / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.00388, allocations: 295.1 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.004156, allocations: 131.5 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.004357, allocations: 167.7 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.00447, allocations: 15.97 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.004606, allocations: 119.7 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.004822, allocations: 239.6 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.00484, allocations: 4 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.004917, allocations: 31.92 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.005017, allocations: 87.7 kB / 381.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.005056, allocations: 43.73 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.005273, allocations: 195.1 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005275, allocations: 0 / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005276, allocations: 4 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.00528, allocations: 0 / 382 MB, free: 14.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005332/0.005813, allocations: 0.6854 MB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.00585, allocations: 12.03 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.005907, allocations: 44.66 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.006103, allocations: 248.8 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.006112, allocations: 4.375 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.006132, allocations: 4.375 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.006241, allocations: 66.88 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.00625, allocations: 192 / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.006259, allocations: 4.125 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.006266, allocations: 0 / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.011e-05/0.006296, allocations: 8 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.006675, allocations: 427.6 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.006823, allocations: 50.92 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.006853, allocations: 11.69 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.00687, allocations: 0 / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.006891, allocations: 41.39 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.006892, allocations: 4 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003723/0.007264, allocations: 192.8 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.007291, allocations: 51.41 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.007704, allocations: 0.6277 MB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.007714, allocations: 29.64 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.007841, allocations: 282.8 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.00786, allocations: 19.83 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.007888, allocations: 23.38 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.008095, allocations: 0.5509 MB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.008113, allocations: 3.984 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.228e-05/0.008125, allocations: 12 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.00816, allocations: 31.56 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.008161, allocations: 0 / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.249e-05/0.008253, allocations: 93.41 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.008264, allocations: 4 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.008268, allocations: 0 / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.008281, allocations: 0 / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.908e-05/0.00832, allocations: 11.98 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.008325, allocations: 0 / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.008348, allocations: 4.281 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.008352, allocations: 4 kB / 385.5 MB, free: 11.2 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 7.015e-05/0.008422, allocations: 168.5 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.008455, allocations: 43.72 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.008578, allocations: 101.2 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008579, allocations: 0 / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.008585, allocations: 3.984 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.008589, allocations: 4 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.008921, allocations: 477.6 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008922, allocations: 0 / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.008952, allocations: 8 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.008955, allocations: 4 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.008962, allocations: 3.984 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.008964, allocations: 4 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008965, allocations: 0 / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.009082, allocations: 243.6 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.009104, allocations: 35.66 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.009118, allocations: 0 / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.71e-05/0.009155, allocations: 4 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.009186, allocations: 7.984 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.009189, allocations: 4 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003847/0.009574, allocations: 434.7 kB / 387.1 MB, free: 9.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009574, allocations: 0 / 387.1 MB, free: 9.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.009743, allocations: 27.94 kB / 387.1 MB, free: 9.582 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.0007521/0.01049, allocations: 373.1 kB / 387.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.96e-05/0.01058, allocations: 31.67 kB / 387.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01059, allocations: 0 / 387.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.244e-05/0.01061, allocations: 19.62 kB / 387.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.01084, allocations: 29.89 kB / 387.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005874/0.01143, allocations: 0.5705 MB / 388.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.228e-05/0.0115, allocations: 119.2 kB / 388.2 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.196e-05/0.01154, allocations: 11.98 kB / 388.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.01157, allocations: 16.48 kB / 388.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01157, allocations: 0 / 388.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of Templates: time 0.003902/0.01547, allocations: 1.373 MB / 389.6 MB, free: 7.141 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.1290435609407723]