Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 213.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 46.93 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.89 kB / 0.4962 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3033, allocations: 66.04 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003175/0.3065, allocations: 1.842 MB / 0.5625 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.3092, allocations: 1.808 MB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.3092, allocations: 3.938 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.3095, allocations: 55.69 kB / 0.5643 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000385/0.3099, allocations: 135.3 kB / 0.5645 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.3102, allocations: 107.7 kB / 0.5646 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.3104, allocations: 207.3 kB / 0.5648 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.3105, allocations: 9.812 kB / 0.5648 GB, free: 284 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.3106, allocations: 95.56 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.3109, allocations: 87.59 kB / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.3109, allocations: 8 kB / 0.5649 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.3111, allocations: 119.9 kB / 0.5651 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.3112, allocations: 31.8 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.3113, allocations: 63.59 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.3116, allocations: 228.9 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3116, allocations: 0 / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.3116, allocations: 4 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.3116, allocations: 7.938 kB / 0.5654 GB, free: 15.64 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.0006896/0.3123, allocations: 432.9 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3124, allocations: 8.031 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.3124, allocations: 34.75 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.3124, allocations: 24.77 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.3128, allocations: 190.2 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3128, allocations: 384 / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.3128, allocations: 7.938 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.313, allocations: 101 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3131, allocations: 4 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3131, allocations: 0 / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3131, allocations: 0 / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3132, allocations: 31.97 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.3134, allocations: 201.5 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.3137, allocations: 97.17 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.297e-05/0.3138, allocations: 37.7 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3138, allocations: 4 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.314, allocations: 109 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.314, allocations: 0 / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004429/0.3145, allocations: 173.9 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.3145, allocations: 132.5 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.3148, allocations: 240.1 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3148, allocations: 25.7 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.3149, allocations: 116.1 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.315, allocations: 35.72 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.315, allocations: 29.72 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3151, allocations: 330.8 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.3152, allocations: 27.98 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3154, allocations: 77.14 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3155, allocations: 95.34 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3156, allocations: 3.938 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000269/0.3158, allocations: 133.5 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3158, allocations: 4 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3158, allocations: 4 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3159, allocations: 0 / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.316, allocations: 23.98 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.316, allocations: 15.81 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.885e-05/0.3161, allocations: 11.94 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3161, allocations: 4 kB / 0.568 GB, free: 12.66 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001178/0.3162, allocations: 142.4 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3162, allocations: 15.91 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.3166, allocations: 150.9 kB / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3166, allocations: 0 / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.3166, allocations: 8 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3166, allocations: 3.984 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.3168, allocations: 200.5 kB / 0.5685 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3168, allocations: 4 kB / 0.5685 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.3168, allocations: 11.98 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3168, allocations: 0 / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3168, allocations: 4 kB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3168, allocations: 3.938 kB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3168, allocations: 0 / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.3171, allocations: 173.7 kB / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.3172, allocations: 15.89 kB / 0.5687 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.3172, allocations: 12 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.3173, allocations: 3.984 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3173, allocations: 4 kB / 0.5687 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3173, allocations: 15.98 kB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.3175, allocations: 169.8 kB / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3175, allocations: 0 / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3178, allocations: 59.86 kB / 0.569 GB, free: 11.59 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002231/0.32, allocations: 1.103 MB / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.3203, allocations: 75.91 kB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3203, allocations: 0 / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3204, allocations: 40.28 kB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3208, allocations: 58.52 kB / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.323, allocations: 1.9 MB / 0.5721 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3234, allocations: 0.7164 MB / 0.5728 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.3235, allocations: 33.62 kB / 0.5728 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3236, allocations: 63.39 kB / 0.5729 GB, free: 7.641 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3236, allocations: 0 / 0.5729 GB, free: 7.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.3563, allocations: 5.504 MB / 0.5782 GB, free: 2.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.47, allocations: 7.984 kB / 0.5783 GB, free: 2.184 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.427093764999881]