Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001253/0.001253, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001383/0.001383, allocations: 206.9 kB / 23.73 MB, free: 4.375 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2356/0.2356, allocations: 46.95 MB / 360.9 MB, free: 4.027 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.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 75.88 kB / 0.4962 GB, free: 7.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3573, allocations: 66.04 MB / 0.5607 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00349/0.3608, allocations: 1.874 MB / 0.5625 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.3629, allocations: 1.081 MB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.363, allocations: 0 / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.3634, allocations: 159.5 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.3638, allocations: 187.2 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.3641, allocations: 119.7 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.3644, allocations: 243.3 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3645, allocations: 27.77 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.3647, allocations: 107.5 kB / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.3649, allocations: 155.5 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.3649, allocations: 8 kB / 0.5645 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3651, allocations: 63.92 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3652, allocations: 55.83 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.3652, allocations: 59.48 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.3656, allocations: 234.9 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3656, allocations: 0 / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3656, allocations: 0 / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3656, allocations: 0 / 0.5649 GB, free: 15.82 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007916/0.3664, allocations: 484.5 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3664, allocations: 12.03 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.3665, allocations: 34.75 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.222e-05/0.3666, allocations: 28.75 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.367, allocations: 214.5 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.367, allocations: 4.375 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.367, allocations: 11.94 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.3673, allocations: 122.2 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3673, allocations: 0 / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3673, allocations: 0 / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3673, allocations: 8 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.3675, allocations: 55.89 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006287/0.3681, allocations: 419.9 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.3686, allocations: 121.2 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3687, allocations: 41.81 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3687, allocations: 8 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.369, allocations: 133.1 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.369, allocations: 3.938 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001413/0.3704, allocations: 0.5046 MB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.3705, allocations: 81.11 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.3709, allocations: 376.5 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3709, allocations: 33.7 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.371, allocations: 148.5 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.3711, allocations: 83.38 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.3712, allocations: 41.7 kB / 0.5678 GB, free: 12.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3713, allocations: 338.8 kB / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.3715, allocations: 63.97 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.3716, allocations: 95.33 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.3719, allocations: 163.5 kB / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3719, allocations: 0 / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004235/0.3723, allocations: 241.3 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3724, allocations: 4 kB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3724, allocations: 4 kB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3724, allocations: 0 / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3725, allocations: 51.91 kB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3725, allocations: 0 / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.3726, allocations: 8 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3726, allocations: 11.98 kB / 0.5687 GB, free: 11.69 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001519/0.3728, allocations: 158.3 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.3728, allocations: 39.81 kB / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.3734, allocations: 280.5 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3734, allocations: 4 kB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3734, allocations: 0 / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3734, allocations: 0 / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3745, allocations: 0.699 MB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-06/0.3745, allocations: 4 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.3746, allocations: 36.11 kB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3746, allocations: 4.188 kB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3746, allocations: 4 kB / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3746, allocations: 15.81 kB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3746, allocations: 3.938 kB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.3752, allocations: 439.5 kB / 0.5703 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.3752, allocations: 23.84 kB / 0.5703 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.3752, allocations: 8 kB / 0.5703 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3754, allocations: 11.94 kB / 0.5704 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.3754, allocations: 27.91 kB / 0.5704 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.3755, allocations: 15.98 kB / 0.5704 GB, free: 9.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002911/0.3758, allocations: 279 kB / 0.5707 GB, free: 9.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3758, allocations: 0 / 0.5707 GB, free: 9.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.3761, allocations: 55.88 kB / 0.5707 GB, free: 9.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002804/0.3789, allocations: 1.422 MB / 0.5721 GB, free: 8.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004757/0.3794, allocations: 167.7 kB / 0.5723 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3794, allocations: 0 / 0.5723 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3796, allocations: 75.84 kB / 0.5723 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.3801, allocations: 67.02 kB / 0.5724 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.3836, allocations: 2.748 MB / 0.5751 GB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.3838, allocations: 153.3 kB / 0.5752 GB, free: 4.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.3839, allocations: 41.92 kB / 0.5753 GB, free: 4.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3841, allocations: 91.39 kB / 0.5754 GB, free: 4.82 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3841, allocations: 0 / 0.5754 GB, free: 4.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.4168, allocations: 6.979 MB / 0.5822 GB, free: 13.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.15, allocations: 3.859 kB / 0.5822 GB, free: 13.91 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.134153973020148]