Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001697/0.001697, 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.001409/0.001409, allocations: 206.4 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.406/1.406, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2222/0.2222, allocations: 46.95 MB / 360.8 MB, free: 3.898 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 83.86 kB / 0.4962 GB, free: 7.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3283, allocations: 66.07 MB / 0.5607 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003824/0.3321, allocations: 1.79 MB / 0.5625 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.3342, allocations: 1.041 MB / 0.5635 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.3344, allocations: 3.938 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006527/0.335, allocations: 311.3 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006446/0.3357, allocations: 259.2 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.336, allocations: 103.7 kB / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.3365, allocations: 271.2 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.532e-05/0.3365, allocations: 13.8 kB / 0.5644 GB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.3367, allocations: 127.6 kB / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.337, allocations: 215.4 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.337, allocations: 8 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3371, allocations: 51.97 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.3373, allocations: 139.6 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.3374, allocations: 111.1 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.3379, allocations: 391.9 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3379, allocations: 4 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3379, allocations: 0 / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3379, allocations: 4 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001051/0.3389, allocations: 0.6786 MB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.339, allocations: 8.031 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.339, allocations: 38.75 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.444e-05/0.3391, allocations: 56.55 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006941/0.3398, allocations: 394.5 kB / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3398, allocations: 4.375 kB / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.3399, allocations: 384 / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.3401, allocations: 91.48 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3401, allocations: 4 kB / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3401, allocations: 0 / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3401, allocations: 7.984 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.3402, allocations: 35.91 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.3407, allocations: 349.3 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.341, allocations: 101.2 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3411, allocations: 45.64 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3411, allocations: 0 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.3413, allocations: 113 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.3413, allocations: 4 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005276/0.3419, allocations: 205.2 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.3419, allocations: 77.11 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.3432, allocations: 1.062 MB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3432, allocations: 25.7 kB / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.3434, allocations: 244.1 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.3435, allocations: 31.75 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.3435, allocations: 37.7 kB / 0.5689 GB, free: 11.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.3438, allocations: 362.8 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.191e-05/0.3438, allocations: 35.97 kB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3439, allocations: 58.8 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3441, allocations: 91.84 kB / 0.5694 GB, free: 10.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3441, allocations: 0 / 0.5694 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003984/0.3445, allocations: 193.2 kB / 0.5696 GB, free: 10.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3446, allocations: 4 kB / 0.5696 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3446, allocations: 0 / 0.5696 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3446, allocations: 4 kB / 0.5696 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3447, allocations: 23.92 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.3447, allocations: 4 kB / 0.5697 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.571e-05/0.3448, allocations: 11.94 kB / 0.5697 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3448, allocations: 7.938 kB / 0.5697 GB, free: 10.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002219/0.345, allocations: 218.7 kB / 0.5699 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.3451, allocations: 67.56 kB / 0.57 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.3455, allocations: 197.8 kB / 0.5701 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3455, allocations: 3.984 kB / 0.5701 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3455, allocations: 4 kB / 0.5701 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3455, allocations: 0 / 0.5701 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.3459, allocations: 296.6 kB / 0.5704 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3459, allocations: 3.938 kB / 0.5704 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/0.346, allocations: 11.94 kB / 0.5704 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.346, allocations: 0 / 0.5704 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.346, allocations: 15.92 kB / 0.5705 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.346, allocations: 0 / 0.5705 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.346, allocations: 3.984 kB / 0.5705 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.3464, allocations: 217.8 kB / 0.5707 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.3465, allocations: 71.53 kB / 0.5707 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.3466, allocations: 7.984 kB / 0.5707 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.3466, allocations: 7.938 kB / 0.5708 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.3467, allocations: 11.98 kB / 0.5708 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.3467, allocations: 4 kB / 0.5708 GB, free: 9.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009191/0.3476, allocations: 0.7956 MB / 0.5715 GB, free: 8.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3476, allocations: 7.938 kB / 0.5716 GB, free: 8.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3479, allocations: 40 kB / 0.5716 GB, free: 8.5 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00224/0.3501, allocations: 1.081 MB / 0.5727 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.3504, allocations: 92.02 kB / 0.5727 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3504, allocations: 0 / 0.5727 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3505, allocations: 39.92 kB / 0.5728 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.351, allocations: 71.64 kB / 0.5728 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006282/0.3572, allocations: 4.59 MB / 0.5773 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.3576, allocations: 245.7 kB / 0.5776 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.3577, allocations: 58.95 kB / 0.5776 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.3579, allocations: 151.4 kB / 0.5778 GB, free: 2.172 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3579, allocations: 0 / 0.5778 GB, free: 2.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03869/0.3966, allocations: 10 MB / 0.5875 GB, free: 8.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 5.938 kB / 0.5875 GB, free: 8.199 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.871913594193757]