Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.002073/0.002073, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002794/0.002794, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2309/0.2309, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 67.91 kB / 0.4962 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3646, allocations: 66.03 MB / 0.5607 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003991/0.3686, allocations: 1.721 MB / 0.5623 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3706, allocations: 0.9899 MB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.3707, allocations: 3.938 kB / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.371, allocations: 35.77 kB / 0.5633 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.3713, allocations: 91.61 kB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3715, allocations: 79.67 kB / 0.5635 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.3717, allocations: 115.6 kB / 0.5636 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3718, allocations: 17.8 kB / 0.5636 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.3719, allocations: 51.78 kB / 0.5637 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.372, allocations: 31.84 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.372, allocations: 11.94 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.3722, allocations: 107.9 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.3723, allocations: 23.86 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.3724, allocations: 27.84 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.3727, allocations: 171.4 kB / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3727, allocations: 0 / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3727, allocations: 0 / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3727, allocations: 0 / 0.564 GB, free: 0.7383 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006814/0.3734, allocations: 373.3 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3734, allocations: 8.031 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.3735, allocations: 34.75 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.3735, allocations: 8.891 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.3739, allocations: 156 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3739, allocations: 8.359 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3739, allocations: 3.938 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.3741, allocations: 97.09 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3742, allocations: 0 / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3742, allocations: 4 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3742, allocations: 4 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.3743, allocations: 23.92 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.3746, allocations: 244 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.3748, allocations: 62.61 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.367e-05/0.3749, allocations: 36.89 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.3749, allocations: 0 / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.3751, allocations: 71.33 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 3.456e-06/0.3751, allocations: 4 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006759/0.3758, allocations: 217.2 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.3758, allocations: 85.03 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.376, allocations: 177.8 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3761, allocations: 25.7 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.3761, allocations: 96.14 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.3762, allocations: 31.73 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.3762, allocations: 33.7 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3764, allocations: 318.8 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.3765, allocations: 31.92 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3766, allocations: 88.27 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3768, allocations: 85.62 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3768, allocations: 4 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002395/0.377, allocations: 125.5 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.377, allocations: 4 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.377, allocations: 0 / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3771, allocations: 4 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3772, allocations: 19.98 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3772, allocations: 4 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.3772, allocations: 11.94 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3772, allocations: 4 kB / 0.5664 GB, free: 14.05 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 (13): * Single equations (assignments): 13 * 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.0001153/0.3773, allocations: 121.8 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.3774, allocations: 15.91 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.3777, allocations: 134.4 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3777, allocations: 0 / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3777, allocations: 3.938 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3777, allocations: 0 / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.3783, allocations: 402.3 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3783, allocations: 3.938 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.3783, allocations: 15.94 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3783, allocations: 0 / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3784, allocations: 8.109 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.3784, allocations: 4 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3784, allocations: 3.938 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.3787, allocations: 220.3 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.3787, allocations: 15.84 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.3787, allocations: 4 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.3788, allocations: 8.031 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.3788, allocations: 7.984 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3789, allocations: 4 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.379, allocations: 135.2 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.379, allocations: 0 / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.3793, allocations: 55.86 kB / 0.5675 GB, free: 12.82 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: 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 (11): * Single equations (assignments): 9 * 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.002701/0.382, allocations: 1.254 MB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3823, allocations: 75.91 kB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3823, allocations: 0 / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3824, allocations: 39.86 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3827, allocations: 34.62 kB / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.3849, allocations: 1.689 MB / 0.5706 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.385, allocations: 85.31 kB / 0.5706 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.057e-05/0.385, allocations: 20.62 kB / 0.5707 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.3851, allocations: 39.42 kB / 0.5707 GB, free: 9.707 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3851, allocations: 4 kB / 0.5707 GB, free: 9.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.4159, allocations: 4.966 MB / 0.5756 GB, free: 4.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.77, allocations: 7.312 kB / 0.5756 GB, free: 4.766 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.84731411607936]