Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001774/0.001774, 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.002182/0.002182, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.2316/0.2316, allocations: 46.95 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.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.89 kB / 0.4962 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3556, allocations: 66.04 MB / 0.5607 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003462/0.359, allocations: 1.862 MB / 0.5625 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.3611, allocations: 1.079 MB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.139e-05/0.3612, allocations: 0 / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004985/0.3617, allocations: 255.3 kB / 0.5638 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.3622, allocations: 243.1 kB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.3625, allocations: 119.7 kB / 0.5641 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.3628, allocations: 267.2 kB / 0.5644 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3629, allocations: 23.77 kB / 0.5644 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3631, allocations: 135.4 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.3633, allocations: 207.4 kB / 0.5647 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.3634, allocations: 12 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3635, allocations: 67.97 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-05/0.3636, allocations: 71.69 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.197e-05/0.3637, allocations: 67.42 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.364, allocations: 262.7 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.364, allocations: 0 / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.364, allocations: 0 / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.364, allocations: 0 / 0.5652 GB, free: 15.56 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.0007607/0.3648, allocations: 0.5196 MB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3648, allocations: 8.031 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.3649, allocations: 46.72 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.3649, allocations: 36.75 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.3653, allocations: 228.8 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3653, allocations: 4.375 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.3654, allocations: 15.92 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.3656, allocations: 115.3 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3656, allocations: 0 / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3656, allocations: 0 / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3656, allocations: 4 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.3658, allocations: 55.83 kB / 0.5662 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.3664, allocations: 447.9 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.3668, allocations: 121.2 kB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3669, allocations: 37.83 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3669, allocations: 8 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.3672, allocations: 125 kB / 0.5669 GB, free: 13.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3672, allocations: 0 / 0.5669 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00137/0.3685, allocations: 0.5365 MB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3686, allocations: 85.05 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.3692, allocations: 0.5016 MB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.3692, allocations: 33.7 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.3694, allocations: 168.5 kB / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.964e-05/0.3695, allocations: 71.42 kB / 0.5683 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.3695, allocations: 45.64 kB / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.3697, allocations: 350.8 kB / 0.5686 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3699, allocations: 59.98 kB / 0.5687 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.37, allocations: 91.39 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.3704, allocations: 163.3 kB / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3704, allocations: 0 / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004738/0.3708, allocations: 245.5 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3708, allocations: 4 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3709, allocations: 12 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3709, allocations: 0 / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.371, allocations: 43.92 kB / 0.5692 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.371, allocations: 0 / 0.5692 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.618e-05/0.3711, allocations: 11.98 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3711, allocations: 8 kB / 0.5692 GB, free: 11.15 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.0001888/0.3713, allocations: 174.3 kB / 0.5694 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.3714, allocations: 39.7 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.372, allocations: 284.4 kB / 0.5697 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.372, allocations: 11.94 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.372, allocations: 0 / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.372, allocations: 3.984 kB / 0.5697 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3731, allocations: 0.7184 MB / 0.5704 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.3731, allocations: 4 kB / 0.5704 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.594e-05/0.3732, allocations: 27.98 kB / 0.5705 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.3732, allocations: 7.984 kB / 0.5705 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.3732, allocations: 8.125 kB / 0.5705 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3732, allocations: 7.938 kB / 0.5705 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3732, allocations: 7.938 kB / 0.5705 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.3738, allocations: 439.5 kB / 0.5709 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.3738, allocations: 35.8 kB / 0.571 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.3739, allocations: 12 kB / 0.571 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.374, allocations: 15.92 kB / 0.571 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.3741, allocations: 19.91 kB / 0.571 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.3741, allocations: 12 kB / 0.571 GB, free: 9.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00042/0.3745, allocations: 379.1 kB / 0.5714 GB, free: 8.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3745, allocations: 4.188 kB / 0.5714 GB, free: 8.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.3749, allocations: 55.92 kB / 0.5714 GB, free: 8.812 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.002932/0.3778, allocations: 1.435 MB / 0.5728 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.3782, allocations: 159.8 kB / 0.573 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3782, allocations: 0 / 0.573 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.3784, allocations: 76.03 kB / 0.5731 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.379, allocations: 68.27 kB / 0.5731 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/0.3829, allocations: 3.03 MB / 0.5761 GB, free: 4.148 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.3831, allocations: 174.3 kB / 0.5762 GB, free: 3.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.3832, allocations: 45.92 kB / 0.5763 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.3834, allocations: 107.4 kB / 0.5764 GB, free: 3.809 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3834, allocations: 0 / 0.5764 GB, free: 3.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/0.4272, allocations: 7.484 MB / 0.5837 GB, free: 12.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.75, allocations: 0 / 0.5837 GB, free: 12.4 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.836837796028703]