Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001784/0.001784, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002162/0.002162, allocations: 211.8 kB / 23.73 MB, free: 4.16 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2391/0.2391, allocations: 46.96 MB / 360.9 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 67.91 kB / 0.4962 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3265, allocations: 66.03 MB / 0.5607 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003219/0.3298, allocations: 1.677 MB / 0.5623 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3315, allocations: 0.9442 MB / 0.5632 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.3316, allocations: 0 / 0.5632 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.3319, allocations: 67.72 kB / 0.5633 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.3323, allocations: 107.6 kB / 0.5634 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.3325, allocations: 71.67 kB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.3327, allocations: 107.7 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.3327, allocations: 8.234 kB / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.576e-05/0.3328, allocations: 47.77 kB / 0.5636 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.333, allocations: 47.77 kB / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.333, allocations: 4 kB / 0.5637 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.71e-05/0.3331, allocations: 28 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.3331, allocations: 23.91 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.3332, allocations: 27.8 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.3334, allocations: 113.4 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3334, allocations: 0 / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3334, allocations: 0 / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.3334, allocations: 0 / 0.5638 GB, free: 0.9336 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006251/0.334, allocations: 345.5 kB / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.3341, allocations: 12.03 kB / 0.5642 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.3341, allocations: 30.75 kB / 0.5642 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.3342, allocations: 12.84 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.3345, allocations: 151 kB / 0.5644 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3345, allocations: 384 / 0.5644 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3345, allocations: 11.94 kB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3347, allocations: 49.67 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3347, allocations: 0 / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3347, allocations: 3.984 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3347, allocations: 0 / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.435e-05/0.3348, allocations: 23.92 kB / 0.5644 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.335, allocations: 156.7 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3352, allocations: 50.56 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.873e-05/0.3353, allocations: 24.84 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.3353, allocations: 0 / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.3355, allocations: 67.33 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3355, allocations: 0 / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003021/0.3358, allocations: 101.5 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.3359, allocations: 55.41 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.3361, allocations: 198.3 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3361, allocations: 25.7 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.3362, allocations: 104.1 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.3362, allocations: 15.84 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.3363, allocations: 25.7 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3364, allocations: 326.8 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.3365, allocations: 12 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.3365, allocations: 33.64 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.3366, allocations: 45.7 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3366, allocations: 3.938 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001656/0.3368, allocations: 89.53 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3368, allocations: 4 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3368, allocations: 4.031 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3368, allocations: 3.984 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.3369, allocations: 12 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3369, allocations: 3.938 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.337, allocations: 320 / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.337, allocations: 4 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000115/0.3371, allocations: 125.8 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.3371, allocations: 15.95 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.3373, allocations: 98.69 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.3373, allocations: 4 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3373, allocations: 4 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3373, allocations: 0 / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.3375, allocations: 156.6 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3375, allocations: 0 / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.3375, allocations: 4 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3375, allocations: 7.984 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3375, allocations: 0 / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3375, allocations: 0 / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3375, allocations: 0 / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.3377, allocations: 121 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.3378, allocations: 19.91 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.3378, allocations: 0 / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.3378, allocations: 0 / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.3379, allocations: 7.984 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3379, allocations: 4 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.338, allocations: 148.2 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.338, allocations: 0 / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.3382, allocations: 23.94 kB / 0.5665 GB, free: 13.95 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002032/0.3403, allocations: 1.003 MB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.3405, allocations: 43.98 kB / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3405, allocations: 0 / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.3406, allocations: 23.92 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3409, allocations: 27.3 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.3431, allocations: 1.522 MB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.418e-05/0.3432, allocations: 93.38 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.3433, allocations: 20.66 kB / 0.5691 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.3434, allocations: 35.42 kB / 0.5692 GB, free: 11.24 MB / 414.1 MB Notification: Performance of SimCode: time 1.784e-06/0.3434, allocations: 0 / 0.5692 GB, free: 11.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.3732, allocations: 3.828 MB / 0.5729 GB, free: 7.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.49, allocations: 10.25 kB / 0.5729 GB, free: 7.465 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.566293908748776]