Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.002632/0.002632, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002599/0.002599, allocations: 165.3 kB / 24.28 MB, free: 152 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.61/1.61, allocations: 177.1 MB / 204.6 MB, free: 5.578 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.3618/0.3618, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 375.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.753e-05, allocations: 6.25 kB / 375.3 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003689/0.003726, allocations: 1.682 MB / 377 MB, free: 3.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.004939, allocations: 0.5414 MB / 377.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.005007, allocations: 3.938 kB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006978/0.005705, allocations: 459 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005653/0.00627, allocations: 295.2 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.006678, allocations: 127.5 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.007007, allocations: 175.7 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.00712, allocations: 15.98 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.007372, allocations: 127.7 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.007713, allocations: 235.7 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.007744, allocations: 7.938 kB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.007899, allocations: 47.92 kB / 379 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.008044, allocations: 91.64 kB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.00811, allocations: 43.73 kB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.008515, allocations: 243.1 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.008519, allocations: 0 / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00852, allocations: 4 kB / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.008528, allocations: 0 / 379.4 MB, free: 0.8555 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001086/0.009613, allocations: 0.7239 MB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.009651, allocations: 8.031 kB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.009754, allocations: 48.66 kB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.0101, allocations: 248.8 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.01011, allocations: 384 / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.01015, allocations: 8.375 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.01031, allocations: 58.19 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.01032, allocations: 192 / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.01034, allocations: 12.11 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.01034, allocations: 0 / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.01043, allocations: 23.98 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/0.01111, allocations: 471.6 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.01125, allocations: 54.98 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.01131, allocations: 19.69 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.01133, allocations: 3.984 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.01137, allocations: 37.39 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.01137, allocations: 0 / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009656/0.01233, allocations: 300.7 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.01238, allocations: 51.41 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/0.01318, allocations: 0.6707 MB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.0132, allocations: 25.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.01349, allocations: 310.7 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.01353, allocations: 27.81 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.01359, allocations: 31.36 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003635/0.01395, allocations: 0.5703 MB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.01403, allocations: 23.98 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.0141, allocations: 19.98 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.01424, allocations: 55.91 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01425, allocations: 0 / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002519/0.0145, allocations: 141.3 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01451, allocations: 11.94 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01452, allocations: 8 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.01453, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.01464, allocations: 15.98 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01464, allocations: 0 / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.01469, allocations: 4 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.01471, allocations: 4 kB / 383.3 MB, free: 12.7 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 0.0001531/0.01486, allocations: 164.5 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.01493, allocations: 47.72 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.01529, allocations: 145.4 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01529, allocations: 0 / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01529, allocations: 0 / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.0153, allocations: 0 / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008883/0.01618, allocations: 0.5672 MB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01619, allocations: 0 / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.01626, allocations: 19.98 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01626, allocations: 0 / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.01627, allocations: 0 / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.01627, allocations: 8.031 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/0.01628, allocations: 3.938 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.01661, allocations: 287.3 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.01668, allocations: 35.7 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.01671, allocations: 8 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.01678, allocations: 0 / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.01683, allocations: 11.92 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.01684, allocations: 4 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004854/0.01732, allocations: 438.8 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01732, allocations: 0 / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.01759, allocations: 32 kB / 385 MB, free: 10.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.003375/0.02096, allocations: 0.4939 MB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.02119, allocations: 75.58 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02119, allocations: 0 / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.02129, allocations: 43.61 kB / 385.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.02164, allocations: 28.3 kB / 385.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.02269, allocations: 0.6235 MB / 386.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.02294, allocations: 204.1 kB / 386.5 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.023, allocations: 16.72 kB / 386.5 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.02304, allocations: 16.5 kB / 386.5 MB, free: 9.523 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02305, allocations: 0 / 386.5 MB, free: 9.523 MB / 362.7 MB Notification: Performance of Templates: time 0.005949/0.02899, allocations: 1.559 MB / 388.1 MB, free: 7.969 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.933503414038569]