Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.002007/0.002007, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.002601/0.002601, allocations: 214.2 kB / 23.74 MB, free: 4.695 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.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2388/0.2388, allocations: 46.92 MB / 360.8 MB, free: 4.191 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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 83.86 kB / 0.4963 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3795, allocations: 66.09 MB / 0.5608 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00439/0.3838, allocations: 1.737 MB / 0.5625 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.3861, allocations: 1.049 MB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.3863, allocations: 7.938 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.3866, allocations: 39.78 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004502/0.3871, allocations: 95.59 kB / 0.5637 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.3874, allocations: 79.67 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.3876, allocations: 103.7 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3878, allocations: 5.828 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3879, allocations: 59.64 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.388, allocations: 27.86 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.388, allocations: 4 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3882, allocations: 43.97 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.3883, allocations: 23.92 kB / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.3883, allocations: 35.73 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.3886, allocations: 123.4 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3886, allocations: 0 / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3886, allocations: 0 / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.3887, allocations: 0 / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000769/0.3894, allocations: 341.6 kB / 0.5645 GB, free: 480 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3895, allocations: 8.031 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.3895, allocations: 34.73 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.3896, allocations: 20.84 kB / 0.5645 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.3899, allocations: 147.7 kB / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.39, allocations: 4.375 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.39, allocations: 384 / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3902, allocations: 61.73 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3902, allocations: 4 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3902, allocations: 0 / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3902, allocations: 0 / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.29e-05/0.3903, allocations: 19.98 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.3907, allocations: 256 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.3909, allocations: 62.59 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.391, allocations: 16.86 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.391, allocations: 7.984 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.3912, allocations: 67.39 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3912, allocations: 0 / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000621/0.3918, allocations: 177.3 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.3919, allocations: 55.39 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.3921, allocations: 179.3 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3921, allocations: 25.7 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.3922, allocations: 104.1 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.3922, allocations: 31.78 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.3923, allocations: 25.72 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3925, allocations: 326.8 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-05/0.3925, allocations: 23.98 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-05/0.3926, allocations: 41.58 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3927, allocations: 49.72 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3927, allocations: 8.375 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000221/0.393, allocations: 109.6 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.393, allocations: 4 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.393, allocations: 7.938 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.393, allocations: 4 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3931, allocations: 12 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3931, allocations: 3.984 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.3932, allocations: 4 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3932, allocations: 4 kB / 0.5663 GB, free: 14.42 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 (10): * Single equations (assignments): 10 * 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.000135/0.3933, allocations: 136.1 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.3934, allocations: 7.953 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.3937, allocations: 115 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3937, allocations: 0 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3937, allocations: 0 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3937, allocations: 7.984 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.3942, allocations: 366.3 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3942, allocations: 0 / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.3942, allocations: 12 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3942, allocations: 4 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3942, allocations: 0 / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3942, allocations: 3.938 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3942, allocations: 3.938 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.3945, allocations: 204.4 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.3946, allocations: 11.91 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.3946, allocations: 4 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.3947, allocations: 3.938 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3947, allocations: 7.984 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3947, allocations: 8 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.3949, allocations: 140.9 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3949, allocations: 0 / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3952, allocations: 23.94 kB / 0.5673 GB, free: 13.29 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: 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 (8): * Single equations (assignments): 6 * 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.002221/0.3974, allocations: 1.077 MB / 0.5684 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3976, allocations: 63.83 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3976, allocations: 0 / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.3977, allocations: 27.98 kB / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3981, allocations: 34.59 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4002, allocations: 1.642 MB / 0.5701 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.4006, allocations: 0.704 MB / 0.5708 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.4007, allocations: 21.2 kB / 0.5708 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.4008, allocations: 39.42 kB / 0.5708 GB, free: 9.703 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4008, allocations: 4 kB / 0.5708 GB, free: 9.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.4345, allocations: 3.561 MB / 0.5743 GB, free: 6.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.38, allocations: 10.23 kB / 0.5743 GB, free: 6.168 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.529885530937463]