Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.002522/0.002522, allocations: 95.66 kB / 20.97 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.002981/0.002981, allocations: 157.7 kB / 24.27 MB, free: 156 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.66/1.66, 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.3547/0.3547, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.101e-05/4.267e-05, allocations: 9.484 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003536/0.003578, allocations: 1.678 MB / 377 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.00585, allocations: 1.27 MB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.005905, allocations: 0 / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.006147, allocations: 23.8 kB / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.006517, allocations: 95.53 kB / 378.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.00686, allocations: 123.6 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.007034, allocations: 75.77 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.007141, allocations: 11.94 kB / 378.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.721e-05/0.007239, allocations: 39.89 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.00737, allocations: 31.89 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.007391, allocations: 4 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.007587, allocations: 99.81 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.007654, allocations: 19.92 kB / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.007684, allocations: 8 kB / 378.8 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.007985, allocations: 159.4 kB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.007989, allocations: 0 / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.00799, allocations: 0 / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.007995, allocations: 0 / 378.9 MB, free: 1.316 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006747/0.00867, allocations: 439.6 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.008712, allocations: 8.031 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.008771, allocations: 8.891 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.009, allocations: 144.4 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.009013, allocations: 384 / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.00904, allocations: 8.328 kB / 379.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.009252, allocations: 103.3 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.009263, allocations: 192 / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.009279, allocations: 8.125 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.009283, allocations: 0 / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.009404, allocations: 31.97 kB / 379.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.009848, allocations: 291.6 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.009997, allocations: 47.06 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.01007, allocations: 27.7 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.0101, allocations: 4 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.01013, allocations: 33.39 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.01013, allocations: 0 / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007358/0.01087, allocations: 177.6 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.01095, allocations: 85.11 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.01116, allocations: 217.8 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.01119, allocations: 25.7 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.01128, allocations: 138.9 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.01132, allocations: 31.84 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.01137, allocations: 27.38 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002955/0.01167, allocations: 0.4923 MB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.01176, allocations: 23.98 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.0119, allocations: 73.05 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.01208, allocations: 67.64 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01208, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002575/0.01234, allocations: 109.8 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.01235, allocations: 6.188 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01236, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01237, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01249, allocations: 19.97 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.0125, allocations: 4 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.01255, allocations: 8 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01256, allocations: 3.984 kB / 381.5 MB, free: 14.46 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 (7): * Single equations (assignments): 7 * 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.0001314/0.01269, allocations: 164.5 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.01273, allocations: 7.953 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.01307, allocations: 126.2 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01307, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.01308, allocations: 4 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01308, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.01363, allocations: 373.4 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.01364, allocations: 4 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-05/0.01372, allocations: 23.92 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01372, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01373, allocations: 4 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01373, allocations: 0 / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01374, allocations: 0 / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.01409, allocations: 255.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.01411, allocations: 7.953 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01413, allocations: 4 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.01421, allocations: 7.984 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.01425, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.01426, allocations: 11.98 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.01439, allocations: 151.2 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01439, allocations: 0 / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002974/0.01469, allocations: 39.86 kB / 382.7 MB, free: 13.21 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 (7): * Single equations (assignments): 7 * 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.003314/0.018, allocations: 0.5344 MB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.01829, allocations: 75.62 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.0183, allocations: 0 / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01842, allocations: 51.59 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.01874, allocations: 19.98 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.01931, allocations: 196.9 kB / 383.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.391e-05/0.0194, allocations: 79.33 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.912e-05/0.01947, allocations: 20.28 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.01953, allocations: 20.48 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01953, allocations: 0 / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.005892/0.02542, allocations: 1.97 MB / 385.6 MB, free: 10.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.2213109959848225]