Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001855/0.001855, allocations: 109 kB / 21.1 MB, free: 0.7695 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.002332/0.002332, allocations: 205.4 kB / 24.38 MB, free: 4.188 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.459/1.459, allocations: 230.2 MB / 257.7 MB, free: 8.281 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.89 MB / 361 MB, free: 4.492 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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 79.86 kB / 0.4962 GB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3054, allocations: 66.03 MB / 0.5607 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.00302/0.3084, allocations: 1.735 MB / 0.5624 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3101, allocations: 1.049 MB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.3102, allocations: 3.938 kB / 0.5634 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.3104, allocations: 47.77 kB / 0.5635 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.3107, allocations: 99.53 kB / 0.5636 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.3109, allocations: 87.66 kB / 0.5637 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.3111, allocations: 99.75 kB / 0.5638 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.3112, allocations: 9.766 kB / 0.5638 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.3113, allocations: 51.72 kB / 0.5638 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.3114, allocations: 31.84 kB / 0.5638 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.3114, allocations: 4 kB / 0.5639 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.3115, allocations: 39.98 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.3115, allocations: 23.91 kB / 0.5639 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.3116, allocations: 35.75 kB / 0.5639 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.3118, allocations: 127.4 kB / 0.5641 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3118, allocations: 0 / 0.5641 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3118, allocations: 4 kB / 0.5641 GB, free: 1.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3118, allocations: 0 / 0.5641 GB, free: 1.23 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.000556/0.3123, allocations: 426.6 kB / 0.5645 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3124, allocations: 12.02 kB / 0.5645 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.3124, allocations: 38.69 kB / 0.5645 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.3125, allocations: 8.891 kB / 0.5645 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3128, allocations: 224.1 kB / 0.5647 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3128, allocations: 4.375 kB / 0.5648 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.3128, allocations: 4.375 kB / 0.5648 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3129, allocations: 61.73 kB / 0.5648 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3129, allocations: 4 kB / 0.5648 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.313, allocations: 4 kB / 0.5648 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.313, allocations: 0 / 0.5648 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.288e-05/0.313, allocations: 15.98 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.3134, allocations: 292.8 kB / 0.5651 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3136, allocations: 58.61 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.3136, allocations: 20.84 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3136, allocations: 4 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.3138, allocations: 63.39 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.3138, allocations: 0 / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005168/0.3143, allocations: 189.3 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3144, allocations: 51.41 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.3146, allocations: 210.7 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3146, allocations: 29.7 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.3146, allocations: 104.1 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.3147, allocations: 27.83 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.3147, allocations: 21.72 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3148, allocations: 330.8 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.517e-05/0.3149, allocations: 19.98 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.315, allocations: 41.64 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.3151, allocations: 57.72 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3151, allocations: 0 / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.3153, allocations: 109.6 kB / 0.5664 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3153, allocations: 4 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3153, allocations: 4.031 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3153, allocations: 4 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.3154, allocations: 19.98 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3154, allocations: 0 / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.3154, allocations: 4 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3154, allocations: 0 / 0.5664 GB, free: 14.56 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.0001116/0.3156, allocations: 147.1 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.3156, allocations: 15.91 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.3158, allocations: 126.9 kB / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3158, allocations: 0 / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3158, allocations: 0 / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3158, allocations: 0 / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.3163, allocations: 395.7 kB / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3163, allocations: 0 / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.3163, allocations: 15.98 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.3163, allocations: 0 / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3163, allocations: 7.938 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3163, allocations: 7.969 kB / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3164, allocations: 0 / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.3166, allocations: 208.3 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.3166, allocations: 81.06 kB / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3167, allocations: 11.98 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.3167, allocations: 3.938 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.3168, allocations: 11.98 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3168, allocations: 4 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.3169, allocations: 156.3 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3169, allocations: 4 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3172, allocations: 20 kB / 0.5676 GB, free: 13.25 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.002381/0.3196, allocations: 1.09 MB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.3197, allocations: 59.84 kB / 0.5687 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3197, allocations: 4.062 kB / 0.5687 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.3198, allocations: 31.92 kB / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.3202, allocations: 27.53 kB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3221, allocations: 1.684 MB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3224, allocations: 0.708 MB / 0.5711 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.887e-05/0.3225, allocations: 20.88 kB / 0.5711 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.3225, allocations: 39.42 kB / 0.5712 GB, free: 9.617 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3225, allocations: 0 / 0.5712 GB, free: 9.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.347, allocations: 3.579 MB / 0.5747 GB, free: 6.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.441, allocations: 10.12 kB / 0.5747 GB, free: 6.035 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_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_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.502583155175671]