Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.002102/0.002102, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002522/0.002522, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.1 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.2511/0.2511, allocations: 46.94 MB / 360.8 MB, free: 4.277 MB / 286.1 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.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 75.88 kB / 0.4967 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4215, allocations: 66.03 MB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003396/0.4249, allocations: 1.609 MB / 0.5627 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.4262, allocations: 0.5464 MB / 0.5633 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.4262, allocations: 4 kB / 0.5633 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.4265, allocations: 31.83 kB / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.4267, allocations: 75.62 kB / 0.5634 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.4271, allocations: 95.69 kB / 0.5634 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.4272, allocations: 67.78 kB / 0.5635 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.4273, allocations: 11.97 kB / 0.5635 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.4274, allocations: 15.94 kB / 0.5635 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.4275, allocations: 27.86 kB / 0.5636 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.4275, allocations: 0 / 0.5636 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.4276, allocations: 39.98 kB / 0.5636 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.4277, allocations: 23.84 kB / 0.5636 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.4277, allocations: 19.81 kB / 0.5636 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.428, allocations: 93.94 kB / 0.5637 GB, free: 1.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.428, allocations: 0 / 0.5637 GB, free: 1.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.428, allocations: 0 / 0.5637 GB, free: 1.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.428, allocations: 0 / 0.5637 GB, free: 1.742 MB / 398.1 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.0006397/0.4286, allocations: 317.8 kB / 0.564 GB, free: 1.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.4287, allocations: 12.03 kB / 0.564 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.4287, allocations: 12.84 kB / 0.5641 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.429, allocations: 140.6 kB / 0.5642 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.429, allocations: 384 / 0.5642 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.429, allocations: 11.94 kB / 0.5642 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.4292, allocations: 41.69 kB / 0.5642 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4292, allocations: 3.938 kB / 0.5643 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4292, allocations: 0 / 0.5643 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4292, allocations: 4 kB / 0.5643 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.4294, allocations: 27.97 kB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.4299, allocations: 244 kB / 0.5645 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.4302, allocations: 50.44 kB / 0.5646 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.4303, allocations: 12.94 kB / 0.5646 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.4303, allocations: 4 kB / 0.5646 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4303, allocations: 34.56 kB / 0.5646 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4303, allocations: 0 / 0.5646 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006538/0.431, allocations: 145.6 kB / 0.5648 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.431, allocations: 55.41 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.4313, allocations: 182.1 kB / 0.565 GB, free: 324 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.4313, allocations: 25.7 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.4314, allocations: 104.1 kB / 0.5651 GB, free: 184 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.4314, allocations: 15.83 kB / 0.5651 GB, free: 168 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.4315, allocations: 17.72 kB / 0.5651 GB, free: 144 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.4317, allocations: 322.8 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.4318, allocations: 19.98 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.4318, allocations: 19.98 kB / 0.5655 GB, free: 15.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.432, allocations: 40.84 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.432, allocations: 0 / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002019/0.4322, allocations: 93.48 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4322, allocations: 8 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4322, allocations: 256 / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4322, allocations: 0 / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.4323, allocations: 19.98 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4323, allocations: 0 / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.4324, allocations: 11.94 kB / 0.5656 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4324, allocations: 7.938 kB / 0.5657 GB, free: 15.59 MB / 414.1 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.0001195/0.4325, allocations: 121.8 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.4325, allocations: 7.953 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.4328, allocations: 94 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4328, allocations: 4 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4328, allocations: 0 / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4328, allocations: 7.938 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.4333, allocations: 309.6 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4333, allocations: 0 / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.4333, allocations: 23.92 kB / 0.5662 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4333, allocations: 0 / 0.5662 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4334, allocations: 7.875 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4334, allocations: 3.984 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4334, allocations: 0 / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.4337, allocations: 179.5 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.4337, allocations: 7.906 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.4337, allocations: 11.92 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.4338, allocations: 0 / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.4338, allocations: 7.984 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.4338, allocations: 0 / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.434, allocations: 139.2 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.434, allocations: 0 / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.4342, allocations: 15.94 kB / 0.5666 GB, free: 14.58 MB / 414.1 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.001616/0.4358, allocations: 414.1 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.436, allocations: 43.97 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.436, allocations: 0 / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.4361, allocations: 27.98 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.4365, allocations: 15.98 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.4371, allocations: 205.8 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.4375, allocations: 0.6962 MB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.946e-05/0.4376, allocations: 15.77 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.4376, allocations: 11.44 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4376, allocations: 0 / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of Templates: time 0.004599/0.4422, allocations: 1.158 MB / 0.5691 GB, free: 12.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.617272117175162]