Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001639/0.001639, 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.001982/0.001982, allocations: 207.4 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.39/1.39, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.226/0.226, allocations: 46.93 MB / 361.6 MB, free: 4.176 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.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 75.88 kB / 0.497 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3027, allocations: 66.08 MB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003072/0.3057, allocations: 1.936 MB / 0.5635 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3075, allocations: 1.154 MB / 0.5646 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/0.3076, allocations: 7.938 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.308, allocations: 219.4 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.3084, allocations: 223.2 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.3087, allocations: 111.7 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.309, allocations: 263.2 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3091, allocations: 27.91 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.3093, allocations: 127.5 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.3095, allocations: 163.5 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.3095, allocations: 12 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.3096, allocations: 67.95 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.3097, allocations: 59.72 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.117e-05/0.3098, allocations: 91.28 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.3101, allocations: 250.8 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3101, allocations: 0 / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3101, allocations: 0 / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3101, allocations: 0 / 0.5661 GB, free: 15.55 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.0006845/0.3108, allocations: 0.5002 MB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3108, allocations: 12.03 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.515e-05/0.3108, allocations: 192 / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.3109, allocations: 38.75 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.3109, allocations: 32.75 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.3113, allocations: 234.5 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3113, allocations: 12.3 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.3113, allocations: 8.375 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.3116, allocations: 117.5 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3116, allocations: 0 / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3116, allocations: 4 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3116, allocations: 4 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3117, allocations: 51.89 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.3123, allocations: 440 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.3126, allocations: 121.2 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3127, allocations: 41.81 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.3127, allocations: 4 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.313, allocations: 117 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.313, allocations: 7.938 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001329/0.3143, allocations: 0.5092 MB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.3144, allocations: 81.11 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.3148, allocations: 444.5 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3149, allocations: 29.7 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.315, allocations: 160.5 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.851e-05/0.315, allocations: 79.42 kB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.3151, allocations: 41.7 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3153, allocations: 346.8 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3154, allocations: 59.97 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.3155, allocations: 92.66 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.3158, allocations: 155.5 kB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3158, allocations: 0 / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003939/0.3162, allocations: 241.3 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3162, allocations: 9.812 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3162, allocations: 0 / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3162, allocations: 4 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3164, allocations: 43.98 kB / 0.57 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3164, allocations: 7.984 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.271e-05/0.3165, allocations: 11.95 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3165, allocations: 8 kB / 0.5701 GB, free: 11.29 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.0001685/0.3167, allocations: 170.2 kB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.3167, allocations: 35.75 kB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.3172, allocations: 260.3 kB / 0.5705 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3172, allocations: 8 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3172, allocations: 0 / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3172, allocations: 3.984 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009143/0.3181, allocations: 0.6989 MB / 0.5712 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3181, allocations: 128 / 0.5712 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.3182, allocations: 35.92 kB / 0.5712 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.3182, allocations: 4.188 kB / 0.5712 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3182, allocations: 8 kB / 0.5712 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3182, allocations: 11.92 kB / 0.5712 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3182, allocations: 0 / 0.5712 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.3187, allocations: 429.8 kB / 0.5717 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.3188, allocations: 31.75 kB / 0.5717 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.3188, allocations: 11.94 kB / 0.5717 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3189, allocations: 8 kB / 0.5717 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.319, allocations: 27.84 kB / 0.5717 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.319, allocations: 19.98 kB / 0.5718 GB, free: 9.434 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003259/0.3193, allocations: 327 kB / 0.5721 GB, free: 9.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3193, allocations: 0 / 0.5721 GB, free: 9.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.3197, allocations: 51.92 kB / 0.5721 GB, free: 9.062 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 (22): * Single equations (assignments): 18 * 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.002587/0.3223, allocations: 1.352 MB / 0.5734 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.3226, allocations: 155.7 kB / 0.5736 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3226, allocations: 128 / 0.5736 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3228, allocations: 79.83 kB / 0.5737 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.3233, allocations: 68 kB / 0.5737 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.3267, allocations: 2.881 MB / 0.5765 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.3271, allocations: 0.7775 MB / 0.5773 GB, free: 3.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.3272, allocations: 41.91 kB / 0.5773 GB, free: 3.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3274, allocations: 95.41 kB / 0.5774 GB, free: 3.625 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3274, allocations: 0 / 0.5774 GB, free: 3.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.3543, allocations: 6.721 MB / 0.584 GB, free: 12.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.2, allocations: 4.062 kB / 0.584 GB, free: 12.95 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 14.236107149044983]