Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0013/0.0013, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001161/0.001161, allocations: 169 kB / 24.99 MB, free: 8.348 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2637/0.2637, allocations: 32.81 MB / 294.6 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.381e-05, allocations: 9.766 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003327/0.003361, allocations: 1.712 MB / 377.7 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007909/0.004151, allocations: 0.5803 MB / 378.3 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.004214, allocations: 0 / 378.3 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.004679, allocations: 455.1 kB / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.005059, allocations: 299.1 kB / 379.1 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.005364, allocations: 179.5 kB / 379.2 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.005567, allocations: 187.6 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.005672, allocations: 12.22 kB / 379.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.005782, allocations: 127.8 kB / 379.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.005988, allocations: 243.6 kB / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.006005, allocations: 4 kB / 379.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.602e-05/0.006091, allocations: 51.91 kB / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/0.006177, allocations: 91.64 kB / 379.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.006219, allocations: 47.67 kB / 380 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.00644, allocations: 215.1 kB / 380.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.006444, allocations: 0 / 380.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.006446, allocations: 0 / 380.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.006451, allocations: 0 / 380.2 MB, free: 0.7695 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.0005759/0.007027, allocations: 0.7086 MB / 380.9 MB, free: 24 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.007062, allocations: 8.031 kB / 380.9 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.007138, allocations: 52.66 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.007328, allocations: 252.7 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.007339, allocations: 4.375 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.007361, allocations: 8.375 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.007493, allocations: 62.94 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.007504, allocations: 8.172 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.007515, allocations: 4.125 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.007523, allocations: 0 / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.007564, allocations: 15.94 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.007995, allocations: 435.6 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.00817, allocations: 59.02 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.008197, allocations: 19.67 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.008215, allocations: 4 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.008236, allocations: 33.39 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.008236, allocations: 0 / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006556/0.008892, allocations: 325 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.008922, allocations: 59.34 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.009318, allocations: 0.6354 MB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.009329, allocations: 29.7 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.009465, allocations: 290.8 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.009494, allocations: 35.69 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.009531, allocations: 31.38 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.009678, allocations: 0.5547 MB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.175e-05/0.009709, allocations: 16 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.009736, allocations: 15.98 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.574e-05/0.009801, allocations: 47.67 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.009802, allocations: 0 / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001247/0.009927, allocations: 133.2 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.009939, allocations: 12 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.009943, allocations: 0 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.009956, allocations: 0 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.01002, allocations: 23.98 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01002, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.01006, allocations: 7.984 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.01006, allocations: 0 / 384 MB, free: 12.71 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 (11): * Single equations (assignments): 11 * 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.418e-05/0.01014, allocations: 164.5 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.01017, allocations: 51.7 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.01035, allocations: 141.8 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01036, allocations: 8 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01036, allocations: 0 / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01036, allocations: 0 / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.0108, allocations: 0.5473 MB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0108, allocations: 0 / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.01085, allocations: 27.98 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01085, allocations: 0 / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.01086, allocations: 4 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01087, allocations: 3.938 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01087, allocations: 4.062 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.01103, allocations: 298.9 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.01106, allocations: 39.86 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.01107, allocations: 8 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.01113, allocations: 11.92 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.01116, allocations: 11.98 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.01117, allocations: 4 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002439/0.01141, allocations: 426.8 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01141, allocations: 0 / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000182/0.01159, allocations: 35.94 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009399/0.01253, allocations: 436.3 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.01266, allocations: 59.59 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01266, allocations: 0 / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.0127, allocations: 39.61 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01295, allocations: 38.05 kB / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.01359, allocations: 0.6402 MB / 387 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.539e-05/0.01367, allocations: 131.2 kB / 387.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.01373, allocations: 32.45 kB / 387.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.01376, allocations: 16.5 kB / 387.2 MB, free: 9.566 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01376, allocations: 0 / 387.2 MB, free: 9.566 MB / 362.7 MB Notification: Performance of Templates: time 0.004832/0.0186, allocations: 1.845 MB / 389 MB, free: 7.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.3265601079910994]