Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001763/0.001763, allocations: 112.5 kB / 21.22 MB, free: 0.7461 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.002124/0.002124, allocations: 213.1 kB / 24.53 MB, free: 4.145 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.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 44.91 MB / 359.6 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4099, allocations: 65.48 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003726/0.4137, allocations: 1.954 MB / 0.5598 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.4157, allocations: 1.092 MB / 0.5608 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.4158, allocations: 3.938 kB / 0.5608 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.4161, allocations: 43.7 kB / 0.5609 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.4164, allocations: 103.5 kB / 0.561 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.4167, allocations: 91.72 kB / 0.5611 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.4169, allocations: 159.4 kB / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.417, allocations: 19.56 kB / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.4171, allocations: 63.72 kB / 0.5613 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.4172, allocations: 51.7 kB / 0.5613 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.4173, allocations: 8 kB / 0.5613 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.4174, allocations: 47.92 kB / 0.5614 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.4174, allocations: 31.86 kB / 0.5614 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.34e-05/0.4175, allocations: 51.66 kB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.4178, allocations: 155.3 kB / 0.5616 GB, free: 3.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4178, allocations: 0 / 0.5616 GB, free: 3.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4178, allocations: 4 kB / 0.5616 GB, free: 3.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4178, allocations: 0 / 0.5616 GB, free: 3.891 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007844/0.4186, allocations: 411 kB / 0.562 GB, free: 3.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4186, allocations: 8.031 kB / 0.562 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.568e-05/0.4186, allocations: 4.188 kB / 0.562 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.4187, allocations: 38.73 kB / 0.5621 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.4187, allocations: 16.84 kB / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.4191, allocations: 178.9 kB / 0.5622 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4191, allocations: 16.06 kB / 0.5623 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.4191, allocations: 8 kB / 0.5623 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.4194, allocations: 107.3 kB / 0.5624 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4194, allocations: 0 / 0.5624 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4194, allocations: 4 kB / 0.5624 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4194, allocations: 0 / 0.5624 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.4196, allocations: 51.91 kB / 0.5624 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.4203, allocations: 496 kB / 0.5629 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.4206, allocations: 82.66 kB / 0.563 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.813e-05/0.4207, allocations: 36.84 kB / 0.563 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.4207, allocations: 7.984 kB / 0.563 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.421, allocations: 79.31 kB / 0.5631 GB, free: 2.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.421, allocations: 0 / 0.5631 GB, free: 2.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004157/0.4214, allocations: 153.6 kB / 0.5632 GB, free: 2.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.4214, allocations: 55.41 kB / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.4216, allocations: 199.2 kB / 0.5635 GB, free: 1.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4216, allocations: 25.7 kB / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.4217, allocations: 120.1 kB / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.4218, allocations: 27.75 kB / 0.5637 GB, free: 1.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.4218, allocations: 29.7 kB / 0.5637 GB, free: 1.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.422, allocations: 326.8 kB / 0.564 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.4221, allocations: 27.98 kB / 0.564 GB, free: 1.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.4222, allocations: 64.27 kB / 0.5641 GB, free: 1.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.4224, allocations: 108.1 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4224, allocations: 0 / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000271/0.4226, allocations: 129.5 kB / 0.5643 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4227, allocations: 6.344 kB / 0.5643 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4227, allocations: 7.984 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4227, allocations: 3.938 kB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4228, allocations: 27.98 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4228, allocations: 8.109 kB / 0.5644 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.4229, allocations: 15.89 kB / 0.5644 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4229, allocations: 4 kB / 0.5644 GB, free: 0.8203 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001267/0.423, allocations: 125.8 kB / 0.5645 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.423, allocations: 19.89 kB / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.4233, allocations: 131 kB / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4233, allocations: 3.938 kB / 0.5646 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4233, allocations: 8 kB / 0.5647 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4233, allocations: 0 / 0.5647 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.4235, allocations: 180.7 kB / 0.5648 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4235, allocations: 0 / 0.5648 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.4236, allocations: 15.98 kB / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4236, allocations: 0 / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.4236, allocations: 7.938 kB / 0.5648 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4236, allocations: 0 / 0.5648 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4236, allocations: 0 / 0.5648 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.424, allocations: 180.9 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.424, allocations: 11.94 kB / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.4241, allocations: 11.92 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.4241, allocations: 12 kB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.4242, allocations: 7.922 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.4242, allocations: 4 kB / 0.5651 GB, free: 36 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.4243, allocations: 147.2 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4243, allocations: 4.062 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000236/0.4246, allocations: 31.92 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.00215/0.4267, allocations: 1.005 MB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.427, allocations: 79.83 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.427, allocations: 0 / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.4271, allocations: 35.92 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.4274, allocations: 49.64 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.4298, allocations: 1.758 MB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.4302, allocations: 0.7201 MB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.124e-05/0.4303, allocations: 17.42 kB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.4304, allocations: 43.42 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4304, allocations: 0 / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.4563, allocations: 4.056 MB / 0.5728 GB, free: 8.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.69, allocations: 8.047 kB / 0.5728 GB, free: 8.164 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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: 15.032619367993902]