Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001853/0.001853, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001685/0.001685, allocations: 211 kB / 24.53 MB, free: 4.07 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.382/1.382, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2126/0.2126, allocations: 46.92 MB / 361.6 MB, free: 4.293 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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 79.88 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3029, allocations: 66.08 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003455/0.3064, allocations: 1.949 MB / 0.5635 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.3082, allocations: 1.088 MB / 0.5645 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3083, allocations: 7.938 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.3086, allocations: 43.7 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.309, allocations: 103.5 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.3092, allocations: 91.66 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.3094, allocations: 155.5 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3095, allocations: 23.7 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.3097, allocations: 63.7 kB / 0.565 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3098, allocations: 51.72 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3098, allocations: 8 kB / 0.565 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3099, allocations: 51.92 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.3099, allocations: 27.91 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.318e-05/0.31, allocations: 51.61 kB / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.3103, allocations: 151.3 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3103, allocations: 3.984 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3103, allocations: 0 / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3103, allocations: 0 / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006687/0.311, allocations: 419 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.311, allocations: 12.03 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.697e-05/0.311, allocations: 4.172 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.3111, allocations: 38.75 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.3111, allocations: 20.83 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.3114, allocations: 171 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3114, allocations: 8.312 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3115, allocations: 12.38 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.3117, allocations: 110.3 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.3117, allocations: 3.938 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3117, allocations: 4 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3117, allocations: 4 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.3119, allocations: 43.91 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.3125, allocations: 496 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.3128, allocations: 82.66 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.3129, allocations: 40.84 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.313, allocations: 0 / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.3132, allocations: 87.31 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3132, allocations: 0 / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003905/0.3136, allocations: 145.4 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3136, allocations: 59.34 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3138, allocations: 203.1 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.3138, allocations: 29.7 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.3139, allocations: 112.1 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.314, allocations: 39.72 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.314, allocations: 25.72 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3142, allocations: 326.8 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.3142, allocations: 27.98 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3143, allocations: 68.27 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.3145, allocations: 92.22 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3145, allocations: 3.938 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002703/0.3148, allocations: 137.4 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3148, allocations: 10.19 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3148, allocations: 0 / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3148, allocations: 4 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.3149, allocations: 19.98 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.3149, allocations: 12.06 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.315, allocations: 15.88 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.315, allocations: 8 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.000106/0.3151, allocations: 127.1 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.3152, allocations: 16.38 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.3154, allocations: 130.9 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3154, allocations: 0 / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3155, allocations: 7.938 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3155, allocations: 0 / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.3156, allocations: 184.6 kB / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3156, allocations: 4 kB / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.3157, allocations: 8 kB / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3157, allocations: 0 / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3157, allocations: 0 / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3157, allocations: 7.984 kB / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3157, allocations: 3.938 kB / 0.5686 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.3161, allocations: 180.9 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.3161, allocations: 15.92 kB / 0.5687 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3161, allocations: 4 kB / 0.5687 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.168e-05/0.3162, allocations: 7.984 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.3162, allocations: 15.86 kB / 0.5688 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3163, allocations: 12 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3164, allocations: 139.2 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3164, allocations: 4.062 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.3166, allocations: 27.94 kB / 0.5689 GB, free: 12.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.002028/0.3186, allocations: 1.007 MB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.3189, allocations: 75.91 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3189, allocations: 3.938 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.319, allocations: 35.91 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3193, allocations: 58.72 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.3214, allocations: 1.753 MB / 0.5718 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.3218, allocations: 0.7162 MB / 0.5725 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.272e-05/0.3219, allocations: 25.41 kB / 0.5725 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.322, allocations: 39.42 kB / 0.5726 GB, free: 8.621 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.322, allocations: 384 / 0.5726 GB, free: 8.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.3463, allocations: 4.046 MB / 0.5765 GB, free: 4.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.02, allocations: 4.062 kB / 0.5765 GB, free: 4.629 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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: 13.9448862010031]