Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001757, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002157/0.002157, allocations: 213.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2518/0.2518, allocations: 46.93 MB / 360.8 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003295/0.003295, allocations: 87.86 kB / 0.4963 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4103, allocations: 66.08 MB / 0.5608 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.004695/0.415, allocations: 1.694 MB / 0.5624 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.4178, allocations: 1.029 MB / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.4179, allocations: 8 kB / 0.5635 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.4183, allocations: 51.75 kB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.4187, allocations: 99.58 kB / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.419, allocations: 71.69 kB / 0.5637 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.4192, allocations: 103.7 kB / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.063e-05/0.4193, allocations: 8.219 kB / 0.5638 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.4195, allocations: 55.72 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.4196, allocations: 27.8 kB / 0.5639 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.4196, allocations: 4 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.4197, allocations: 31.97 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.4198, allocations: 27.92 kB / 0.5639 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.4199, allocations: 35.69 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.4202, allocations: 121.3 kB / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4202, allocations: 3.938 kB / 0.5641 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4202, allocations: 0 / 0.5641 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.4202, allocations: 4 kB / 0.5641 GB, free: 0.8867 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007934/0.421, allocations: 377.3 kB / 0.5644 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.78e-05/0.4211, allocations: 12.03 kB / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.765e-05/0.4212, allocations: 30.75 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.463e-05/0.4212, allocations: 12.89 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.4217, allocations: 155.2 kB / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4217, allocations: 384 / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.4217, allocations: 8.375 kB / 0.5646 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.422, allocations: 61.72 kB / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.422, allocations: 0 / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.422, allocations: 0 / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.422, allocations: 4 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.78e-05/0.4221, allocations: 15.98 kB / 0.5647 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.4224, allocations: 160.8 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.4227, allocations: 46.62 kB / 0.5649 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.4227, allocations: 24.84 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.4228, allocations: 0 / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.423, allocations: 71.27 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.423, allocations: 0 / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004339/0.4234, allocations: 97.58 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.4235, allocations: 55.41 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.4239, allocations: 274.8 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.424, allocations: 29.7 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4241, allocations: 112.1 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.4241, allocations: 19.83 kB / 0.5656 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.4242, allocations: 21.66 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.4244, allocations: 330.8 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.4245, allocations: 15.94 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.4246, allocations: 33.7 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.4247, allocations: 41.95 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.4247, allocations: 4 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002535/0.425, allocations: 97.41 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.425, allocations: 4 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.425, allocations: 0 / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.425, allocations: 0 / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.4251, allocations: 16.03 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4251, allocations: 160 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-05/0.4252, allocations: 7.938 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4252, allocations: 4 kB / 0.5661 GB, free: 14.57 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 (7): * Single equations (assignments): 7 * 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.0001868/0.4254, allocations: 141.5 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.4255, allocations: 15.84 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.4258, allocations: 94.75 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4258, allocations: 0 / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4258, allocations: 0 / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4258, allocations: 7.984 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.4261, allocations: 168.7 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4261, allocations: 3.938 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.4261, allocations: 4 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4261, allocations: 0 / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4261, allocations: 0 / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4261, allocations: 0 / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4261, allocations: 4 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.4264, allocations: 117 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.4264, allocations: 15.84 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.4264, allocations: 192 / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.4265, allocations: 11.98 kB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.4265, allocations: 0 / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4266, allocations: 4 kB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000279/0.4268, allocations: 204.6 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4268, allocations: 0 / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000313/0.4272, allocations: 19.94 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.002437/0.4296, allocations: 0.9619 MB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.4298, allocations: 39.98 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4298, allocations: 0 / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.4299, allocations: 23.92 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.4302, allocations: 34.64 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.4323, allocations: 1.674 MB / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.4327, allocations: 0.7196 MB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.233e-05/0.4328, allocations: 12.48 kB / 0.5703 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.4328, allocations: 43.42 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4328, allocations: 0 / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.4625, allocations: 3.646 MB / 0.5739 GB, free: 6.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.32, allocations: 9.422 kB / 0.5739 GB, free: 6.582 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.57601747100125]