Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001244/0.001244, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001474/0.001474, allocations: 209.3 kB / 23.73 MB, free: 4.379 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.439/1.439, 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.2341/0.2341, allocations: 46.97 MB / 360.9 MB, free: 4.047 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.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 75.86 kB / 0.4962 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 66.03 MB / 0.5607 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003144/0.3647, allocations: 1.706 MB / 0.5623 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3664, allocations: 0.9715 MB / 0.5633 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.3664, allocations: 0 / 0.5633 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3667, allocations: 39.77 kB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.367, allocations: 91.61 kB / 0.5634 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.3672, allocations: 87.66 kB / 0.5635 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.3674, allocations: 111.6 kB / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.3674, allocations: 5.828 kB / 0.5636 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.3675, allocations: 43.78 kB / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.3676, allocations: 39.78 kB / 0.5637 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.3676, allocations: 4 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.3677, allocations: 43.97 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.3678, allocations: 23.86 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.3678, allocations: 31.75 kB / 0.5638 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.3681, allocations: 119.5 kB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3681, allocations: 4 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3681, allocations: 4 kB / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3681, allocations: 0 / 0.5639 GB, free: 0.8945 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.0005423/0.3686, allocations: 345.5 kB / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3686, allocations: 12.03 kB / 0.5642 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.3687, allocations: 30.75 kB / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.3687, allocations: 8.891 kB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.369, allocations: 155 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.369, allocations: 8.312 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.369, allocations: 3.938 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3692, allocations: 53.67 kB / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3692, allocations: 8 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3692, allocations: 0 / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3692, allocations: 0 / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.3693, allocations: 27.97 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.3697, allocations: 255.9 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3698, allocations: 54.62 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.3699, allocations: 20.84 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3699, allocations: 0 / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.3701, allocations: 71.39 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3701, allocations: 0 / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005774/0.3707, allocations: 189.3 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3707, allocations: 51.41 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3709, allocations: 202.2 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3709, allocations: 29.7 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.371, allocations: 108.1 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.371, allocations: 23.8 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.3711, allocations: 25.7 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3712, allocations: 326.8 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.3713, allocations: 23.94 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.3714, allocations: 37.69 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.3715, allocations: 61.78 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3715, allocations: 4.312 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002112/0.3717, allocations: 113.7 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3717, allocations: 4 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3717, allocations: 3.938 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3717, allocations: 4 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3718, allocations: 24.02 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3718, allocations: 0 / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.3719, allocations: 7.938 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3719, allocations: 4 kB / 0.5661 GB, free: 14.44 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 (10): * Single equations (assignments): 10 * 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.0001079/0.372, allocations: 129.8 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.372, allocations: 11.91 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.3723, allocations: 127 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3723, allocations: 0 / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3723, allocations: 0 / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3723, allocations: 3.938 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3728, allocations: 370.4 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3728, allocations: 0 / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.3729, allocations: 11.98 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.3729, allocations: 7.938 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3729, allocations: 0 / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3729, allocations: 0 / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3729, allocations: 0 / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.3731, allocations: 216.2 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.3732, allocations: 11.94 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.3732, allocations: 11.97 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.3733, allocations: 0 / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.3733, allocations: 11.98 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3733, allocations: 4 kB / 0.567 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.3735, allocations: 152.2 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3735, allocations: 0 / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000265/0.3737, allocations: 23.94 kB / 0.5671 GB, free: 13.27 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 (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.002276/0.376, allocations: 1.15 MB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.3762, allocations: 67.89 kB / 0.5683 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3762, allocations: 0 / 0.5683 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.3763, allocations: 23.98 kB / 0.5684 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3766, allocations: 28.33 kB / 0.5684 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3786, allocations: 1.682 MB / 0.57 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.573e-05/0.3787, allocations: 88.19 kB / 0.5701 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.3787, allocations: 12.97 kB / 0.5701 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.3788, allocations: 39.42 kB / 0.5702 GB, free: 10.27 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3788, allocations: 4 kB / 0.5702 GB, free: 10.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.4086, allocations: 4.177 MB / 0.5742 GB, free: 6.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.11, allocations: 3.984 kB / 0.5742 GB, free: 6.141 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.078819132002536]