Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.001266/0.001266, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001471/0.001471, allocations: 216.6 kB / 24.54 MB, free: 4.02 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.405/1.405, allocations: 230.3 MB / 258 MB, free: 8.223 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.2171/0.2171, allocations: 46.88 MB / 361.3 MB, free: 4.539 MB / 286.1 MB " [Timeout remaining time 180] 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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003579/0.003579, allocations: 79.86 kB / 0.4966 GB, free: 8.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.355, allocations: 66.02 MB / 0.5611 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002977/0.358, allocations: 1.745 MB / 0.5628 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3596, allocations: 1.041 MB / 0.5638 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.3597, allocations: 7.938 kB / 0.5638 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3599, allocations: 51.75 kB / 0.5639 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.3602, allocations: 95.55 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.3604, allocations: 83.66 kB / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3605, allocations: 99.75 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.627e-05/0.3606, allocations: 5.969 kB / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.125e-05/0.3607, allocations: 55.7 kB / 0.5642 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.979e-05/0.3608, allocations: 31.8 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.3608, allocations: 4 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.342e-05/0.3609, allocations: 39.98 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.3609, allocations: 27.91 kB / 0.5643 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.3609, allocations: 31.75 kB / 0.5643 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3612, allocations: 127.5 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3612, allocations: 0 / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3612, allocations: 3.938 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3612, allocations: 0 / 0.5645 GB, free: 1.234 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.0005397/0.3617, allocations: 422.6 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3617, allocations: 12.03 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.3618, allocations: 30.75 kB / 0.5649 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3618, allocations: 12.89 kB / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.3621, allocations: 216.8 kB / 0.5651 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3621, allocations: 8.375 kB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3621, allocations: 384 / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3622, allocations: 57.8 kB / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3622, allocations: 0 / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3623, allocations: 4 kB / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.3623, allocations: 0 / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.611e-05/0.3623, allocations: 19.92 kB / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.3627, allocations: 292.8 kB / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.3628, allocations: 58.61 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.3629, allocations: 20.84 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.3629, allocations: 7.938 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.3631, allocations: 67.39 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3631, allocations: 0 / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000503/0.3636, allocations: 173.3 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3636, allocations: 59.34 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3638, allocations: 194.3 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3638, allocations: 25.7 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.3639, allocations: 108.1 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.3639, allocations: 27.78 kB / 0.5662 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.364, allocations: 21.72 kB / 0.5662 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3641, allocations: 330.8 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.3642, allocations: 20 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.3642, allocations: 33.7 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3644, allocations: 65.64 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3644, allocations: 4 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001831/0.3645, allocations: 101.5 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3646, allocations: 8 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3646, allocations: 0 / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3646, allocations: 3.984 kB / 0.5668 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.3647, allocations: 12 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3647, allocations: 4 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.3647, allocations: 0 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3647, allocations: 8.375 kB / 0.5668 GB, free: 14.61 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.0001012/0.3648, allocations: 133.6 kB / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.3648, allocations: 15.91 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.3651, allocations: 119 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3651, allocations: 3.984 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3651, allocations: 4 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3651, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.3655, allocations: 403.5 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3655, allocations: 0 / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.3656, allocations: 8 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3656, allocations: 0 / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.3656, allocations: 4 kB / 0.5675 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3656, allocations: 4.125 kB / 0.5675 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3656, allocations: 0 / 0.5675 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.3658, allocations: 220.2 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.3659, allocations: 89 kB / 0.5678 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3659, allocations: 4 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.366, allocations: 7.938 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.366, allocations: 7.984 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.366, allocations: 4 kB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3662, allocations: 148.2 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3662, allocations: 0 / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3664, allocations: 23.94 kB / 0.5679 GB, free: 13.32 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 (8): * Single equations (assignments): 6 * 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.001976/0.3684, allocations: 1.086 MB / 0.569 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.3686, allocations: 59.84 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3686, allocations: 0 / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.3686, allocations: 27.98 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.369, allocations: 27.53 kB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.3708, allocations: 1.668 MB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3711, allocations: 0.7002 MB / 0.5714 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.3711, allocations: 12.97 kB / 0.5714 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.3712, allocations: 39.42 kB / 0.5715 GB, free: 9.723 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3712, allocations: 4 kB / 0.5715 GB, free: 9.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.3977, allocations: 3.504 MB / 0.5749 GB, free: 6.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.535, allocations: 4.688 kB / 0.5749 GB, free: 6.211 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.50353420409374]