Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.001327/0.001327, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001464/0.001464, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2243/0.2243, allocations: 46.94 MB / 360.8 MB, free: 3.93 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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 87.84 kB / 0.4962 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3154, allocations: 66.07 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00439/0.3198, allocations: 1.667 MB / 0.5624 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.3223, allocations: 0.9476 MB / 0.5633 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.3223, allocations: 7.938 kB / 0.5633 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.3227, allocations: 59.73 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.3232, allocations: 95.59 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.3234, allocations: 67.75 kB / 0.5635 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.3236, allocations: 107.6 kB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.3237, allocations: 4.234 kB / 0.5636 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3238, allocations: 43.78 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.869e-05/0.3239, allocations: 31.84 kB / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.3239, allocations: 4 kB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.324, allocations: 31.94 kB / 0.5637 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.993e-05/0.3241, allocations: 35.83 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.3242, allocations: 27.75 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.3244, allocations: 121.3 kB / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3244, allocations: 0 / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.117e-06/0.3244, allocations: 4 kB / 0.5639 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3244, allocations: 4 kB / 0.5639 GB, free: 0.7344 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006643/0.3251, allocations: 369.3 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.3252, allocations: 8.031 kB / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.3252, allocations: 34.75 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.3253, allocations: 12.89 kB / 0.5643 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.3256, allocations: 159.2 kB / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3256, allocations: 4.375 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.3256, allocations: 384 / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.3258, allocations: 57.8 kB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.3258, allocations: 0 / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3258, allocations: 7.984 kB / 0.5645 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3259, allocations: 0 / 0.5645 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.636e-05/0.3259, allocations: 15.98 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.3262, allocations: 160.8 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.3264, allocations: 58.55 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.3265, allocations: 16.86 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3265, allocations: 7.984 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.3267, allocations: 63.33 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.3267, allocations: 7.938 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003853/0.3271, allocations: 113.5 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3272, allocations: 51.41 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.3276, allocations: 278.8 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3276, allocations: 25.7 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3277, allocations: 116.1 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.3277, allocations: 15.84 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.3278, allocations: 21.72 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.328, allocations: 326.8 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.3281, allocations: 12 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3282, allocations: 45.67 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3283, allocations: 49.64 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3283, allocations: 0 / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002341/0.3285, allocations: 85.53 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3286, allocations: 7.984 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3286, allocations: 0 / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3286, allocations: 4 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3287, allocations: 11.94 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3287, allocations: 4.031 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.3288, allocations: 7.953 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3288, allocations: 0 / 0.566 GB, free: 14.41 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 (7): * Single equations (assignments): 7 * 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.0001651/0.3289, allocations: 136.1 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.329, allocations: 23.83 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.3293, allocations: 99.02 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3293, allocations: 0 / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.3293, allocations: 4.062 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.3293, allocations: 7.984 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.3295, allocations: 160.7 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3295, allocations: 11.92 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.3296, allocations: 4 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3296, allocations: 0 / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3296, allocations: 0 / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3296, allocations: 0 / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3296, allocations: 0 / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.3299, allocations: 117 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.3299, allocations: 15.84 kB / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.3299, allocations: 7.938 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.98e-05/0.33, allocations: 7.984 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.33, allocations: 11.94 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.33, allocations: 0 / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002905/0.3303, allocations: 204.6 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3303, allocations: 0 / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.3307, allocations: 23.94 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002275/0.333, allocations: 0.9889 MB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.3332, allocations: 39.92 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3332, allocations: 4 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.3333, allocations: 28.05 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.3337, allocations: 27.3 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.3359, allocations: 1.694 MB / 0.5695 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.336, allocations: 108.5 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.658e-05/0.3361, allocations: 8.5 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.3361, allocations: 47.36 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3361, allocations: 0 / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.3661, allocations: 4.175 MB / 0.5737 GB, free: 6.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.22, allocations: 0 / 0.5737 GB, free: 6.441 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.134972349740565]