Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001252/0.001252, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 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.001312/0.001312, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.355/1.355, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2112/0.2112, allocations: 46.94 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 79.88 kB / 0.4969 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2768, allocations: 66.08 MB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002946/0.2798, allocations: 1.59 MB / 0.563 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.2816, allocations: 1.224 MB / 0.5642 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.2816, allocations: 7.875 kB / 0.5642 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.2818, allocations: 19.86 kB / 0.5642 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.2821, allocations: 87.61 kB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.2823, allocations: 95.12 kB / 0.5644 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2824, allocations: 59.84 kB / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.427e-05/0.2825, allocations: 17.81 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.2825, allocations: 31.8 kB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.2826, allocations: 31.84 kB / 0.5645 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2826, allocations: 4 kB / 0.5645 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.2828, allocations: 95.94 kB / 0.5646 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.2828, allocations: 15.92 kB / 0.5646 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.2829, allocations: 19.81 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.2831, allocations: 139.5 kB / 0.5648 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2831, allocations: 0 / 0.5648 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2831, allocations: 0 / 0.5648 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.2831, allocations: 0 / 0.5648 GB, free: 0.5742 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.0004679/0.2836, allocations: 333.7 kB / 0.5651 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.913e-05/0.2836, allocations: 8.031 kB / 0.5651 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.057e-06/0.2837, allocations: 192 / 0.5651 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.2837, allocations: 38.75 kB / 0.5652 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.2837, allocations: 4.891 kB / 0.5652 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.2839, allocations: 148.5 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-06/0.2839, allocations: 384 / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.284, allocations: 8.375 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.2841, allocations: 85.42 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2841, allocations: 3.984 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.2841, allocations: 4 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.2841, allocations: 0 / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-05/0.2842, allocations: 23.98 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.2846, allocations: 247.9 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.2847, allocations: 42.56 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.735e-05/0.2848, allocations: 12.94 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.2848, allocations: 0 / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2848, allocations: 38.56 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.2848, allocations: 0 / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005001/0.2853, allocations: 145.4 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.2854, allocations: 77.11 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.2855, allocations: 145.8 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.2856, allocations: 25.7 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.2856, allocations: 100.1 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.2856, allocations: 15.86 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.2857, allocations: 17.72 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2858, allocations: 330.8 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.2859, allocations: 15.98 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.286, allocations: 59.41 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.2861, allocations: 45.02 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.2861, allocations: 0 / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.2863, allocations: 81.62 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.2863, allocations: 7.938 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2863, allocations: 11.97 kB / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2863, allocations: 0 / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.2864, allocations: 11.98 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.2864, allocations: 0 / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.2864, allocations: 11.92 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.2864, allocations: 4 kB / 0.5668 GB, free: 14.29 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 8.548e-05/0.2865, allocations: 119.1 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.2866, allocations: 7.953 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.2868, allocations: 90.06 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2868, allocations: 4 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2868, allocations: 3.938 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2868, allocations: 0 / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.2872, allocations: 309.6 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2872, allocations: 0 / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.2873, allocations: 15.98 kB / 0.5673 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2873, allocations: 4 kB / 0.5673 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2873, allocations: 0 / 0.5673 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.2873, allocations: 11.92 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2873, allocations: 0 / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.2875, allocations: 183.6 kB / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.2875, allocations: 7.953 kB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.2876, allocations: 288 / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.2876, allocations: 7.938 kB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.2877, allocations: 3.984 kB / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2877, allocations: 8 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.2878, allocations: 117.6 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2878, allocations: 4 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.288, allocations: 35.88 kB / 0.5677 GB, free: 13.28 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.002178/0.2902, allocations: 1.133 MB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.2904, allocations: 43.97 kB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2904, allocations: 0 / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.2905, allocations: 27.92 kB / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.2908, allocations: 23.92 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.2924, allocations: 1.421 MB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.2924, allocations: 75.16 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.2925, allocations: 24.23 kB / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.2926, allocations: 27.42 kB / 0.5704 GB, free: 10.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2926, allocations: 0 / 0.5704 GB, free: 10.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.3152, allocations: 3.492 MB / 0.5738 GB, free: 7.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.18, allocations: 15.03 kB / 0.5738 GB, free: 7.078 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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: 14.046167819062248]