Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.2 MB / 218.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000954/0.0009538, allocations: 88.22 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.353/0.353, allocations: 43.46 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.903e-05, allocations: 0 / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3845/0.5078, allocations: 86.4 MB / 0.5573 GB, free: 17.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5081, allocations: 71 kB / 0.5573 GB, free: 17.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00998/0.5181, allocations: 4.056 MB / 0.5613 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5181, allocations: 0 / 0.5613 GB, free: 14.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.5181, allocations: 4 kB / 0.5613 GB, free: 14.83 MB / 394.7 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.0003231/0.5184, allocations: 393.4 kB / 0.5617 GB, free: 14.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5185, allocations: 8.031 kB / 0.5617 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.5185, allocations: 37.94 kB / 0.5617 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.5186, allocations: 20.38 kB / 0.5617 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.5188, allocations: 215.4 kB / 0.562 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-06/0.5188, allocations: 0 / 0.562 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.5188, allocations: 6.875 kB / 0.562 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5189, allocations: 44.22 kB / 0.562 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.519, allocations: 1.375 kB / 0.562 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.519, allocations: 1.266 kB / 0.562 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.519, allocations: 0 / 0.562 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.603e-05/0.519, allocations: 13.22 kB / 0.562 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.5194, allocations: 306.2 kB / 0.5623 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.5196, allocations: 40.8 kB / 0.5623 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.5197, allocations: 13.89 kB / 0.5624 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.5197, allocations: 0 / 0.5624 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.5197, allocations: 38.56 kB / 0.5624 GB, free: 13.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.5197, allocations: 0 / 0.5624 GB, free: 13.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004195/0.5201, allocations: 137.3 kB / 0.5625 GB, free: 13.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.5202, allocations: 51.41 kB / 0.5626 GB, free: 13.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.5204, allocations: 214.7 kB / 0.5628 GB, free: 13.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.5204, allocations: 25.7 kB / 0.5628 GB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.5204, allocations: 108.2 kB / 0.5629 GB, free: 13.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.5205, allocations: 17.11 kB / 0.5629 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.5205, allocations: 7.375 kB / 0.5629 GB, free: 13.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.5206, allocations: 322.2 kB / 0.5632 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.5206, allocations: 14.06 kB / 0.5633 GB, free: 12.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.135e-05/0.5206, allocations: 12.72 kB / 0.5633 GB, free: 12.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.743e-05/0.5207, allocations: 13.75 kB / 0.5633 GB, free: 12.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5207, allocations: 0 / 0.5633 GB, free: 12.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.55e-05/0.5208, allocations: 79.3 kB / 0.5634 GB, free: 12.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.5208, allocations: 4 kB / 0.5634 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5208, allocations: 0 / 0.5634 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5208, allocations: 4.25 kB / 0.5634 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.5209, allocations: 18.48 kB / 0.5634 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.5209, allocations: 4 kB / 0.5634 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.521, allocations: 9.641 kB / 0.5634 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.521, allocations: 0.9375 kB / 0.5634 GB, free: 12.74 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.521, allocations: 107.2 kB / 0.5635 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.5211, allocations: 11.91 kB / 0.5635 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.5212, allocations: 93.31 kB / 0.5636 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5212, allocations: 0 / 0.5636 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5213, allocations: 3.953 kB / 0.5636 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5213, allocations: 0 / 0.5636 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.5216, allocations: 369.5 kB / 0.564 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5216, allocations: 4 kB / 0.564 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.5217, allocations: 9.453 kB / 0.564 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.5217, allocations: 5.453 kB / 0.564 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.5217, allocations: 11.2 kB / 0.564 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5217, allocations: 0 / 0.564 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5217, allocations: 7.922 kB / 0.564 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.5218, allocations: 166.7 kB / 0.5641 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.5219, allocations: 98.66 kB / 0.5642 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.5219, allocations: 3.938 kB / 0.5642 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.522, allocations: 16.44 kB / 0.5643 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.5221, allocations: 7.141 kB / 0.5643 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.5221, allocations: 4 kB / 0.5643 GB, free: 11.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.5222, allocations: 173.6 kB / 0.5644 GB, free: 11.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5222, allocations: 0 / 0.5644 GB, free: 11.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.5224, allocations: 28.56 kB / 0.5645 GB, free: 11.71 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008929/0.5233, allocations: 0.9621 MB / 0.5654 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.5234, allocations: 32.11 kB / 0.5654 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5234, allocations: 3.938 kB / 0.5654 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.5235, allocations: 20.41 kB / 0.5655 GB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.5237, allocations: 22.84 kB / 0.5655 GB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.5242, allocations: 255.4 kB / 0.5657 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5245, allocations: 0.7173 MB / 0.5664 GB, free: 9.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.5245, allocations: 19.08 kB / 0.5664 GB, free: 9.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.5246, allocations: 32.38 kB / 0.5665 GB, free: 9.789 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5246, allocations: 0 / 0.5665 GB, free: 9.789 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.5388, allocations: 2.622 MB / 0.569 GB, free: 7.781 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.5391, allocations: 197.5 kB / 0.5692 GB, free: 7.543 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.146, allocations: 0 / 0.5692 GB, free: 7.543 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat does not exist to compare? outputFormat=mat