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.001726/0.001726, allocations: 114 kB / 20.44 MB, free: 1.469 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.002121/0.002121, allocations: 211.4 kB / 23.74 MB, free: 4.695 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.427/1.427, 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.2332/0.2332, allocations: 46.93 MB / 360.8 MB, free: 4.191 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.002295/0.002295, allocations: 76.16 kB / 0.4963 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3454, allocations: 66.08 MB / 0.5608 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003348/0.3488, allocations: 1.737 MB / 0.5625 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3505, allocations: 1.053 MB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.3506, allocations: 3.938 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.3509, allocations: 43.78 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.3512, allocations: 99.59 kB / 0.5637 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.3514, allocations: 83.66 kB / 0.5637 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.3516, allocations: 107.6 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3517, allocations: 5.828 kB / 0.5639 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3518, allocations: 47.78 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.3519, allocations: 31.84 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.3519, allocations: 4 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.352, allocations: 39.98 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.352, allocations: 23.91 kB / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.3521, allocations: 47.62 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3524, allocations: 119.5 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3524, allocations: 0 / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.067e-06/0.3524, allocations: 3.984 kB / 0.5642 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3524, allocations: 0 / 0.5642 GB, free: 0.8203 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.0006089/0.353, allocations: 345.5 kB / 0.5645 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.353, allocations: 16.02 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.3531, allocations: 34.69 kB / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.3531, allocations: 12.89 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3534, allocations: 166.3 kB / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3534, allocations: 384 / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3534, allocations: 8.312 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3536, allocations: 57.8 kB / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3536, allocations: 0 / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3536, allocations: 4 kB / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3536, allocations: 0 / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.661e-05/0.3537, allocations: 19.98 kB / 0.5648 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.3541, allocations: 268 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.3542, allocations: 58.62 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.3543, allocations: 20.84 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3543, allocations: 0 / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.3545, allocations: 67.39 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3545, allocations: 4 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005365/0.355, allocations: 181.2 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.3551, allocations: 51.41 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.3553, allocations: 214.2 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3553, allocations: 33.64 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.3554, allocations: 104.1 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.3554, allocations: 27.78 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.3554, allocations: 25.72 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3556, allocations: 330.8 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.3556, allocations: 27.92 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.3557, allocations: 33.7 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.3558, allocations: 49.72 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3558, allocations: 7.984 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.356, allocations: 105.5 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.356, allocations: 6.188 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.356, allocations: 4 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.356, allocations: 0 / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.3561, allocations: 15.98 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3561, allocations: 0 / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.3562, allocations: 7.938 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3562, allocations: 4 kB / 0.5664 GB, free: 14.35 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.0001162/0.3563, allocations: 139 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.3563, allocations: 15.91 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.3566, allocations: 115 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3566, allocations: 0 / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3566, allocations: 0 / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.3566, allocations: 4 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.357, allocations: 366.6 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.357, allocations: 0 / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.3571, allocations: 20.33 kB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3571, allocations: 0 / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3571, allocations: 0 / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.3571, allocations: 12.02 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3571, allocations: 3.984 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.3573, allocations: 200.3 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.3574, allocations: 11.94 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3574, allocations: 7.984 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.3575, allocations: 11.94 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.3575, allocations: 7.984 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3575, allocations: 0 / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.3576, allocations: 156.5 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3576, allocations: 0 / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3579, allocations: 31.81 kB / 0.5674 GB, free: 13.18 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.002112/0.36, allocations: 1.091 MB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.3602, allocations: 55.86 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3602, allocations: 3.938 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.405e-05/0.3603, allocations: 27.92 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3606, allocations: 27.36 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.3625, allocations: 1.686 MB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3628, allocations: 0.7158 MB / 0.5709 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.224e-05/0.3629, allocations: 16.58 kB / 0.571 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.363, allocations: 35.42 kB / 0.571 GB, free: 9.543 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.363, allocations: 4 kB / 0.571 GB, free: 9.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.3922, allocations: 3.679 MB / 0.5746 GB, free: 5.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.26, allocations: 2.656 kB / 0.5746 GB, free: 5.898 MB / 414.1 MB " [Timeout remaining time 649] (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.1.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: 14.358118525000464]