Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.00167/0.00167, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002135/0.002135, allocations: 213.1 kB / 24.54 MB, free: 4.016 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.506/1.506, allocations: 230.3 MB / 258 MB, free: 8.23 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.2225/0.2225, allocations: 46.89 MB / 361.3 MB, free: 4.434 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 80.19 kB / 0.4966 GB, free: 8.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3099, allocations: 66.03 MB / 0.5611 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003312/0.3132, allocations: 1.753 MB / 0.5628 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3149, allocations: 1.045 MB / 0.5638 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.315, allocations: 3.938 kB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.3153, allocations: 43.77 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.3156, allocations: 99.59 kB / 0.564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.3158, allocations: 83.61 kB / 0.5641 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.316, allocations: 99.75 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.3161, allocations: 5.969 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3162, allocations: 55.7 kB / 0.5642 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.3163, allocations: 35.8 kB / 0.5643 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3163, allocations: 4 kB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.3164, allocations: 43.97 kB / 0.5643 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.3164, allocations: 15.92 kB / 0.5643 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.925e-05/0.3165, allocations: 39.73 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.3167, allocations: 127.4 kB / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3167, allocations: 0 / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3167, allocations: 0 / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3167, allocations: 0 / 0.5645 GB, free: 1.191 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.0005677/0.3173, allocations: 426.6 kB / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3173, allocations: 8.031 kB / 0.5649 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.3174, allocations: 30.75 kB / 0.5649 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.3174, allocations: 12.89 kB / 0.5649 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3177, allocations: 220.8 kB / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3177, allocations: 384 / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3178, allocations: 4.375 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3179, allocations: 61.73 kB / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3179, allocations: 0 / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3179, allocations: 0 / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3179, allocations: 0 / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/0.318, allocations: 19.98 kB / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.3184, allocations: 296.8 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3185, allocations: 54.62 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.3186, allocations: 20.84 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3186, allocations: 0 / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.3188, allocations: 63.39 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3188, allocations: 4 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005495/0.3193, allocations: 185.5 kB / 0.5658 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3194, allocations: 51.41 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.3196, allocations: 202.2 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3196, allocations: 29.64 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.3197, allocations: 104.1 kB / 0.5662 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3197, allocations: 23.8 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.3197, allocations: 29.7 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3199, allocations: 326.8 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.3199, allocations: 16 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.32, allocations: 41.64 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3201, allocations: 61.7 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3201, allocations: 0 / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002156/0.3203, allocations: 109.5 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3204, allocations: 4 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3204, allocations: 0 / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3204, allocations: 0 / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.886e-05/0.3205, allocations: 16 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3205, allocations: 0 / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.3205, allocations: 7.984 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3205, allocations: 4 kB / 0.5668 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.0001209/0.3207, allocations: 133.3 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.3207, allocations: 15.94 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.3209, allocations: 119.2 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3209, allocations: 4 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.321, allocations: 0 / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.321, allocations: 0 / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.3214, allocations: 399.2 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3214, allocations: 0 / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.3215, allocations: 8.031 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3215, allocations: 4 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3215, allocations: 0 / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.3215, allocations: 11.92 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3215, allocations: 3.938 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3217, allocations: 204.3 kB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.3218, allocations: 85.06 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3218, allocations: 4 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.3219, allocations: 15.88 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3219, allocations: 3.984 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.322, allocations: 4.188 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.3221, allocations: 148.2 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3221, allocations: 3.938 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.3224, allocations: 27.94 kB / 0.5679 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 (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.002151/0.3245, allocations: 1.08 MB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.3247, allocations: 71.75 kB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3247, allocations: 0 / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.3248, allocations: 24 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3251, allocations: 30.06 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.327, allocations: 1.666 MB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3274, allocations: 0.7041 MB / 0.5714 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.337e-05/0.3274, allocations: 12.97 kB / 0.5714 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.3275, allocations: 35.42 kB / 0.5715 GB, free: 9.676 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3275, allocations: 0 / 0.5715 GB, free: 9.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.3521, allocations: 3.509 MB / 0.5749 GB, free: 6.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.331, allocations: 7.562 kB / 0.5749 GB, free: 6.164 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_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_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.438087499933317]