Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.0013/0.0013, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001331/0.001331, allocations: 213.2 kB / 24.52 MB, free: 3.91 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.379/1.379, allocations: 230.5 MB / 258.2 MB, free: 7.777 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.2182/0.2182, allocations: 46.94 MB / 361.6 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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 75.88 kB / 0.497 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3197, allocations: 66.08 MB / 0.5615 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00421/0.3239, allocations: 1.726 MB / 0.5632 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.326, allocations: 0.9811 MB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.3261, allocations: 0 / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.3266, allocations: 87.69 kB / 0.5642 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.327, allocations: 115.6 kB / 0.5643 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.3272, allocations: 83.66 kB / 0.5644 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.3274, allocations: 123.6 kB / 0.5645 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3275, allocations: 25.78 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3276, allocations: 59.78 kB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3277, allocations: 67.73 kB / 0.5647 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3278, allocations: 4 kB / 0.5647 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3279, allocations: 63.95 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.328, allocations: 27.86 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.328, allocations: 31.75 kB / 0.5648 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.3283, allocations: 147.4 kB / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3283, allocations: 0 / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3283, allocations: 0 / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.3284, allocations: 0 / 0.565 GB, free: 448 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006486/0.329, allocations: 381.3 kB / 0.5653 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.329, allocations: 12.03 kB / 0.5653 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.307e-05/0.3291, allocations: 192 / 0.5653 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.824e-05/0.3291, allocations: 30.75 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.3292, allocations: 20.83 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.3295, allocations: 167 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3296, allocations: 4.375 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.3296, allocations: 384 / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3298, allocations: 61.61 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3298, allocations: 0 / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3298, allocations: 12 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3298, allocations: 0 / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.3299, allocations: 23.97 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.3303, allocations: 271.8 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.3306, allocations: 62.55 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.3306, allocations: 16.98 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3307, allocations: 0 / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.3308, allocations: 71.38 kB / 0.566 GB, free: 15.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3308, allocations: 4 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008107/0.3316, allocations: 269.3 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.3317, allocations: 51.41 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.3319, allocations: 242.9 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.332, allocations: 29.7 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.332, allocations: 112.1 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.3321, allocations: 35.73 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.3321, allocations: 29.7 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3323, allocations: 326.8 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.3324, allocations: 39.98 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.721e-05/0.3325, allocations: 45.08 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3326, allocations: 85.64 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3326, allocations: 0 / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000232/0.3328, allocations: 129.6 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3329, allocations: 10.03 kB / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3329, allocations: 0 / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3329, allocations: 0 / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.333, allocations: 27.92 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.333, allocations: 11.97 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.333, allocations: 0 / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.333, allocations: 4 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 13 * 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.0001252/0.3332, allocations: 131.1 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.3332, allocations: 15.91 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.3335, allocations: 158.9 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3335, allocations: 0 / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3335, allocations: 3.938 kB / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3335, allocations: 0 / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.3341, allocations: 431.1 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3341, allocations: 3.938 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.3342, allocations: 15.98 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3342, allocations: 4 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3342, allocations: 4 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3342, allocations: 4 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.3342, allocations: 3.984 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.3346, allocations: 241.1 kB / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.3346, allocations: 15.94 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.3346, allocations: 12 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.3347, allocations: 11.98 kB / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3347, allocations: 7.984 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3348, allocations: 4 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.335, allocations: 179.2 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.335, allocations: 0 / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000273/0.3352, allocations: 27.94 kB / 0.5686 GB, free: 12.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (12): * Single equations (assignments): 10 * 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.002554/0.3378, allocations: 1.218 MB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.338, allocations: 83.89 kB / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.338, allocations: 0 / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.3381, allocations: 39.86 kB / 0.57 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.3385, allocations: 31.95 kB / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.3407, allocations: 1.868 MB / 0.5718 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.3408, allocations: 110 kB / 0.5719 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.246e-05/0.3408, allocations: 20.62 kB / 0.5719 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.039e-05/0.3409, allocations: 43.42 kB / 0.572 GB, free: 8.992 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3409, allocations: 0 / 0.572 GB, free: 8.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.3654, allocations: 4.312 MB / 0.5762 GB, free: 4.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.14, allocations: 3.094 kB / 0.5762 GB, free: 4.723 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.065978515078314]