Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001911/0.001911, allocations: 110 kB / 20.43 MB, free: 1.453 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.002402/0.002402, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.524/1.524, allocations: 230.5 MB / 257.4 MB, free: 7.977 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.2551/0.2551, allocations: 46.93 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 83.86 kB / 0.4963 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3674, allocations: 66.08 MB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003299/0.3707, allocations: 1.842 MB / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.3736, allocations: 1.801 MB / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.3737, allocations: 3.938 kB / 0.5644 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.3741, allocations: 59.67 kB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.3746, allocations: 127.4 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.3748, allocations: 111.6 kB / 0.5646 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.3752, allocations: 207.3 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.701e-05/0.3753, allocations: 9.797 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.3755, allocations: 99.56 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.3757, allocations: 83.67 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.3758, allocations: 11.94 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.376, allocations: 115.9 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.3761, allocations: 35.89 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.817e-05/0.3762, allocations: 63.55 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.3766, allocations: 228.9 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3766, allocations: 4 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3766, allocations: 0 / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3766, allocations: 0 / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008613/0.3775, allocations: 436.9 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3775, allocations: 8.031 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.3776, allocations: 42.69 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.3777, allocations: 16.84 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.3781, allocations: 190.2 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3781, allocations: 4.375 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.3781, allocations: 4.375 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.3783, allocations: 109.1 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3783, allocations: 0 / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3784, allocations: 0 / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3784, allocations: 3.984 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.3785, allocations: 31.97 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.3788, allocations: 189.6 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.379, allocations: 109.2 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.682e-05/0.3791, allocations: 29.7 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3791, allocations: 8 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.3794, allocations: 112.9 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3794, allocations: 0 / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004407/0.3798, allocations: 173.4 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.3799, allocations: 128.5 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3802, allocations: 242.3 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3802, allocations: 29.7 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.3803, allocations: 116.1 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.3803, allocations: 27.75 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.3804, allocations: 33.7 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3805, allocations: 330.8 kB / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.3806, allocations: 27.98 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3808, allocations: 77.08 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.381, allocations: 91.91 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.381, allocations: 0 / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002852/0.3812, allocations: 141.5 kB / 0.568 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3813, allocations: 6.031 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.3813, allocations: 4 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3813, allocations: 0 / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3814, allocations: 27.92 kB / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3814, allocations: 0 / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.668e-05/0.3815, allocations: 15.89 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3815, allocations: 4 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001577/0.3817, allocations: 139.2 kB / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.3817, allocations: 19.84 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.3821, allocations: 150.7 kB / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3821, allocations: 0 / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3821, allocations: 4 kB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3821, allocations: 0 / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.3823, allocations: 200.5 kB / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3824, allocations: 7.938 kB / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.3824, allocations: 4 kB / 0.5686 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.3824, allocations: 4 kB / 0.5686 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3824, allocations: 8.234 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3824, allocations: 4 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3824, allocations: 0 / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.3827, allocations: 169.7 kB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.3828, allocations: 23.83 kB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.3828, allocations: 4 kB / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.3829, allocations: 12 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.3829, allocations: 11.92 kB / 0.5688 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.3829, allocations: 7.984 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.3831, allocations: 176.5 kB / 0.569 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3831, allocations: 0 / 0.569 GB, free: 11.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.3834, allocations: 55.86 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002325/0.3857, allocations: 1.102 MB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.386, allocations: 75.84 kB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.386, allocations: 0 / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3861, allocations: 35.92 kB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3865, allocations: 59.23 kB / 0.5703 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.3889, allocations: 1.899 MB / 0.5722 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3893, allocations: 0.7203 MB / 0.5729 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.877e-05/0.3894, allocations: 29.62 kB / 0.5729 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3895, allocations: 59.39 kB / 0.5729 GB, free: 7.461 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3895, allocations: 4 kB / 0.5729 GB, free: 7.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0345/0.424, allocations: 5.5 MB / 0.5783 GB, free: 1.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.5, allocations: 7.188 kB / 0.5783 GB, free: 1.973 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.710859803017229]