Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001328/0.001328, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001468/0.001468, allocations: 203.5 kB / 23.72 MB, free: 4.391 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2239/0.2239, allocations: 46.95 MB / 360.8 MB, free: 3.914 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 79.88 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3356, allocations: 66.09 MB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003144/0.3388, allocations: 1.712 MB / 0.5624 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3405, allocations: 0.9709 MB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.3406, allocations: 0 / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3409, allocations: 51.75 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.3412, allocations: 95.59 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.3414, allocations: 79.67 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3416, allocations: 119.6 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.3416, allocations: 9.766 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.3417, allocations: 43.78 kB / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.321e-05/0.3418, allocations: 35.78 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3418, allocations: 4 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3419, allocations: 39.98 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/0.342, allocations: 27.92 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.342, allocations: 35.72 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.3423, allocations: 147.3 kB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3423, allocations: 0 / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3423, allocations: 0 / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3423, allocations: 4 kB / 0.564 GB, free: 0.6484 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.0005738/0.3429, allocations: 373.3 kB / 0.5644 GB, free: 260 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3429, allocations: 8.031 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.3429, allocations: 38.73 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.343, allocations: 16.84 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.3432, allocations: 151.3 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3433, allocations: 8.375 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.3433, allocations: 384 / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.3435, allocations: 65.73 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3435, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3435, allocations: 4 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3435, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.687e-05/0.3436, allocations: 19.98 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.344, allocations: 271.9 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.3441, allocations: 62.61 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.3442, allocations: 20.84 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.3442, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3444, allocations: 67.39 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3444, allocations: 4 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005653/0.3449, allocations: 189.3 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.345, allocations: 55.41 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.3453, allocations: 278.8 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3453, allocations: 29.64 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.3454, allocations: 120.1 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.3454, allocations: 23.8 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.3454, allocations: 25.7 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3456, allocations: 330.8 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.3457, allocations: 23.98 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.3457, allocations: 49.95 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3459, allocations: 57.7 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3459, allocations: 0 / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000203/0.3461, allocations: 117.5 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3461, allocations: 4 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3461, allocations: 4 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3461, allocations: 0 / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.3462, allocations: 15.98 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3462, allocations: 4.031 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.3463, allocations: 8 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3463, allocations: 4 kB / 0.5664 GB, free: 14.04 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.3464, allocations: 141.7 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.3464, allocations: 15.89 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.3467, allocations: 123 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3467, allocations: 4 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3467, allocations: 0 / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3467, allocations: 0 / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.3472, allocations: 386.3 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3472, allocations: 0 / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.3473, allocations: 12 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3473, allocations: 4 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3473, allocations: 0 / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3473, allocations: 3.938 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3473, allocations: 4 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.3476, allocations: 220.2 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.3476, allocations: 11.91 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3476, allocations: 4 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.3477, allocations: 11.97 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.3477, allocations: 8.359 kB / 0.5673 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3477, allocations: 4 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.3479, allocations: 212.5 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3479, allocations: 0 / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.3482, allocations: 31.83 kB / 0.5675 GB, free: 12.77 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.002278/0.3505, allocations: 1.128 MB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3507, allocations: 63.84 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3507, allocations: 0 / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.3508, allocations: 31.92 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3511, allocations: 38.72 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.3533, allocations: 1.851 MB / 0.5706 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.3534, allocations: 105.1 kB / 0.5707 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.3535, allocations: 12.97 kB / 0.5707 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/0.3535, allocations: 47.41 kB / 0.5707 GB, free: 9.543 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3535, allocations: 3.938 kB / 0.5707 GB, free: 9.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.3843, allocations: 4.46 MB / 0.5751 GB, free: 5.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.54, allocations: 7.734 kB / 0.5751 GB, free: 5.098 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498107 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.729428701102734]