Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001788/0.001788, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.0027/0.0027, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2282/0.2282, allocations: 46.96 MB / 361.7 MB, free: 4.059 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.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.91 kB / 0.4969 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3152, allocations: 66.03 MB / 0.5614 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003706/0.319, allocations: 1.872 MB / 0.5633 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3211, allocations: 1.069 MB / 0.5643 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.3212, allocations: 7.938 kB / 0.5643 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005361/0.3217, allocations: 227.3 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004619/0.3222, allocations: 219.2 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.3224, allocations: 119.6 kB / 0.5648 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.3228, allocations: 259.3 kB / 0.5651 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3229, allocations: 23.78 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.323, allocations: 123.5 kB / 0.5652 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.3233, allocations: 175.4 kB / 0.5654 GB, free: 152 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.3233, allocations: 8 kB / 0.5654 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3234, allocations: 59.98 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3235, allocations: 67.75 kB / 0.5655 GB, free: 16 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.823e-05/0.3236, allocations: 67.42 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.324, allocations: 250.8 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.324, allocations: 0 / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.324, allocations: 0 / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.324, allocations: 0 / 0.5658 GB, free: 15.7 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008515/0.3248, allocations: 0.5041 MB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3249, allocations: 8.031 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.307e-05/0.3249, allocations: 4.188 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.3249, allocations: 38.75 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.325, allocations: 32.69 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.3254, allocations: 230.5 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3254, allocations: 8.125 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.3254, allocations: 8 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.3257, allocations: 119.2 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3257, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3257, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3257, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.3259, allocations: 51.95 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.3265, allocations: 443.8 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.3269, allocations: 125.2 kB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.327, allocations: 41.81 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.327, allocations: 4 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.3273, allocations: 117.1 kB / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.3273, allocations: 0 / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001503/0.3288, allocations: 0.5287 MB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3288, allocations: 77.11 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.3293, allocations: 456.5 kB / 0.5685 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.3294, allocations: 29.7 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3295, allocations: 164.5 kB / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.3296, allocations: 75.41 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.3297, allocations: 45.7 kB / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3298, allocations: 342.8 kB / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.33, allocations: 59.97 kB / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.3301, allocations: 103.3 kB / 0.5693 GB, free: 11.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.3304, allocations: 167.5 kB / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3304, allocations: 0 / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004504/0.3309, allocations: 245.1 kB / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3309, allocations: 4 kB / 0.5697 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3309, allocations: 4 kB / 0.5697 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3309, allocations: 0 / 0.5697 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.3311, allocations: 51.98 kB / 0.5698 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3311, allocations: 3.984 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3312, allocations: 7.953 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.3312, allocations: 12 kB / 0.5698 GB, free: 11.39 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001768/0.3314, allocations: 170.3 kB / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.3315, allocations: 35.75 kB / 0.57 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005828/0.332, allocations: 280.2 kB / 0.5703 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.332, allocations: 4 kB / 0.5703 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3321, allocations: 0 / 0.5703 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3321, allocations: 4 kB / 0.5703 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3331, allocations: 0.7068 MB / 0.5709 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3331, allocations: 4 kB / 0.571 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.3332, allocations: 35.92 kB / 0.571 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3332, allocations: 4 kB / 0.571 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3332, allocations: 7.984 kB / 0.571 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3332, allocations: 4 kB / 0.571 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3332, allocations: 8.062 kB / 0.571 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.3338, allocations: 439.4 kB / 0.5714 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.3338, allocations: 31.77 kB / 0.5715 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.3339, allocations: 8 kB / 0.5715 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.334, allocations: 15.92 kB / 0.5715 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.3341, allocations: 23.91 kB / 0.5715 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.3341, allocations: 8 kB / 0.5715 GB, free: 9.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003718/0.3345, allocations: 343 kB / 0.5718 GB, free: 9.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3345, allocations: 0 / 0.5718 GB, free: 9.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.3349, allocations: 59.88 kB / 0.5719 GB, free: 9.125 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.003091/0.338, allocations: 1.43 MB / 0.5733 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.3384, allocations: 159.8 kB / 0.5734 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3384, allocations: 0 / 0.5734 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.3386, allocations: 84.28 kB / 0.5735 GB, free: 7.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/0.3392, allocations: 72.27 kB / 0.5736 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.343, allocations: 2.904 MB / 0.5764 GB, free: 4.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.3432, allocations: 170 kB / 0.5766 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.3433, allocations: 41.91 kB / 0.5766 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3434, allocations: 103.4 kB / 0.5767 GB, free: 4.25 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3434, allocations: 0 / 0.5767 GB, free: 4.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.3707, allocations: 6.955 MB / 0.5835 GB, free: 13.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.09, allocations: 16.61 kB / 0.5835 GB, free: 13.37 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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: 15.248381091048941]