Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001711/0.001711, allocations: 209.5 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 230.4 MB / 258.7 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2855/0.2855, allocations: 46.93 MB / 362 MB, free: 4.238 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 79.86 kB / 0.4978 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2994, allocations: 66.08 MB / 0.5623 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002894/0.3023, allocations: 1.632 MB / 0.5639 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.3033, allocations: 0.5528 MB / 0.5645 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.3033, allocations: 0 / 0.5645 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.3039, allocations: 451.1 kB / 0.5649 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004617/0.3043, allocations: 299.3 kB / 0.5652 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.3046, allocations: 127.6 kB / 0.5653 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.3049, allocations: 171.6 kB / 0.5655 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.3049, allocations: 8 kB / 0.5655 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3051, allocations: 111.8 kB / 0.5656 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.3053, allocations: 251.5 kB / 0.5658 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3053, allocations: 4 kB / 0.5658 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.737e-05/0.3054, allocations: 23.98 kB / 0.5658 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3055, allocations: 79.69 kB / 0.5659 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3056, allocations: 103 kB / 0.566 GB, free: 464 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.3059, allocations: 261.2 kB / 0.5663 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3059, allocations: 0 / 0.5663 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3059, allocations: 4 kB / 0.5663 GB, free: 204 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3059, allocations: 0 / 0.5663 GB, free: 204 kB / 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.0007186/0.3066, allocations: 0.5817 MB / 0.5668 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3067, allocations: 8.031 kB / 0.5669 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.3067, allocations: 40.66 kB / 0.5669 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.307, allocations: 246.8 kB / 0.5671 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.307, allocations: 384 / 0.5671 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.307, allocations: 8.375 kB / 0.5671 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3072, allocations: 55.22 kB / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3072, allocations: 7.922 kB / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.3072, allocations: 0 / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3072, allocations: 0 / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3073, allocations: 35.91 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.3078, allocations: 351.9 kB / 0.5676 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3079, allocations: 46.55 kB / 0.5676 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.308, allocations: 20.94 kB / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.308, allocations: 0 / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.308, allocations: 34.56 kB / 0.5677 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.308, allocations: 0 / 0.5677 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003318/0.3084, allocations: 121.3 kB / 0.5678 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3084, allocations: 55.41 kB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/0.3093, allocations: 0.8652 MB / 0.5687 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3093, allocations: 25.7 kB / 0.5687 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.3095, allocations: 212.1 kB / 0.5689 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.3095, allocations: 3.953 kB / 0.5689 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.3096, allocations: 17.7 kB / 0.5689 GB, free: 13.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3097, allocations: 362.8 kB / 0.5693 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.3098, allocations: 19.98 kB / 0.5693 GB, free: 12.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.3098, allocations: 11.98 kB / 0.5693 GB, free: 12.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.31, allocations: 52.64 kB / 0.5693 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.31, allocations: 0 / 0.5693 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001894/0.3102, allocations: 105.3 kB / 0.5694 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3102, allocations: 7.984 kB / 0.5695 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3102, allocations: 7.938 kB / 0.5695 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3102, allocations: 0 / 0.5695 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.3103, allocations: 8 kB / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3103, allocations: 0 / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.3103, allocations: 7.984 kB / 0.5695 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3103, allocations: 0 / 0.5695 GB, free: 12.72 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 (3): * Single equations (assignments): 3 * 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.0001938/0.3105, allocations: 213.7 kB / 0.5697 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.3106, allocations: 43.72 kB / 0.5697 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.3108, allocations: 129 kB / 0.5698 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3108, allocations: 0 / 0.5698 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3108, allocations: 0 / 0.5698 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3108, allocations: 0 / 0.5698 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3111, allocations: 264.6 kB / 0.5701 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3111, allocations: 384 / 0.5701 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.3112, allocations: 11.98 kB / 0.5701 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3112, allocations: 0 / 0.5701 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.3112, allocations: 0 / 0.5701 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3112, allocations: 0 / 0.5701 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3112, allocations: 4 kB / 0.5701 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.3114, allocations: 211.1 kB / 0.5703 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.3115, allocations: 35.72 kB / 0.5704 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3115, allocations: 0 / 0.5704 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.3116, allocations: 7.984 kB / 0.5704 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.3116, allocations: 0 / 0.5704 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3116, allocations: 8 kB / 0.5704 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006474/0.3123, allocations: 0.655 MB / 0.571 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3123, allocations: 0 / 0.571 GB, free: 11.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.3125, allocations: 23.92 kB / 0.571 GB, free: 11.05 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 (3): * Single equations (assignments): 3 * 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.001187/0.3137, allocations: 342 kB / 0.5714 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.3139, allocations: 35.95 kB / 0.5714 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3139, allocations: 0 / 0.5714 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.3139, allocations: 23.92 kB / 0.5714 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3143, allocations: 33.22 kB / 0.5714 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3154, allocations: 0.7944 MB / 0.5722 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.3158, allocations: 0.8245 MB / 0.573 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.309e-05/0.3159, allocations: 11.73 kB / 0.573 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.3159, allocations: 11.44 kB / 0.573 GB, free: 9.047 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3159, allocations: 0 / 0.573 GB, free: 9.047 MB / 414.1 MB Notification: Performance of Templates: time 0.004436/0.3203, allocations: 1.304 MB / 0.5743 GB, free: 7.746 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.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.894727868959308]