Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001782/0.001782, 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.001981/0.001981, allocations: 205.7 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.397/1.397, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.228/0.228, allocations: 46.94 MB / 360.8 MB, free: 3.914 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.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 79.88 kB / 0.4962 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3223, allocations: 66.08 MB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003391/0.3256, allocations: 1.864 MB / 0.5626 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.3277, allocations: 1.08 MB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.3277, allocations: 0 / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.3282, allocations: 223.4 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.3286, allocations: 223.2 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.3289, allocations: 115.6 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.3293, allocations: 263.3 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3294, allocations: 23.77 kB / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.3296, allocations: 115.5 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.3298, allocations: 167.4 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.3298, allocations: 11.94 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.33, allocations: 67.97 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.327e-05/0.3301, allocations: 63.7 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.316e-05/0.3302, allocations: 71.47 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.3305, allocations: 254.8 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3305, allocations: 3.984 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3305, allocations: 0 / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3305, allocations: 0 / 0.5652 GB, free: 15.48 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.000809/0.3313, allocations: 0.4925 MB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3314, allocations: 12.03 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.3314, allocations: 42.73 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.3315, allocations: 32.75 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.3319, allocations: 226.4 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3319, allocations: 4.375 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3319, allocations: 12.38 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.3322, allocations: 119.4 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3322, allocations: 4 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3322, allocations: 3.984 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3322, allocations: 0 / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3324, allocations: 55.89 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.333, allocations: 427.9 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.3334, allocations: 125.2 kB / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3335, allocations: 49.81 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.3335, allocations: 0 / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.3338, allocations: 125.1 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.3338, allocations: 0 / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001359/0.3351, allocations: 0.5201 MB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.3352, allocations: 85.11 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.3358, allocations: 448.5 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3358, allocations: 37.69 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3359, allocations: 164.5 kB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.336, allocations: 63.44 kB / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.3361, allocations: 45.7 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3362, allocations: 346.8 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3364, allocations: 63.91 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.3365, allocations: 91.34 kB / 0.5686 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.3368, allocations: 163.6 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3368, allocations: 0 / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000432/0.3373, allocations: 245.3 kB / 0.569 GB, free: 11.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3373, allocations: 4 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.3373, allocations: 7.938 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.3373, allocations: 7.938 kB / 0.569 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3375, allocations: 47.84 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3375, allocations: 4 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.399e-05/0.3376, allocations: 16.02 kB / 0.5691 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3376, allocations: 12 kB / 0.5691 GB, free: 11.18 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.0001732/0.3378, allocations: 165.8 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.3378, allocations: 27.81 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.3384, allocations: 289.1 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3384, allocations: 4 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3384, allocations: 0 / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3384, allocations: 3.984 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.3394, allocations: 0.7106 MB / 0.5703 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3394, allocations: 3.984 kB / 0.5703 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.912e-05/0.3395, allocations: 32 kB / 0.5703 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.3396, allocations: 4 kB / 0.5703 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3396, allocations: 7.984 kB / 0.5703 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3396, allocations: 0 / 0.5703 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3396, allocations: 7.938 kB / 0.5703 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.3401, allocations: 441.9 kB / 0.5708 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.3402, allocations: 27.77 kB / 0.5708 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.3402, allocations: 15.97 kB / 0.5708 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3404, allocations: 8 kB / 0.5708 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.3404, allocations: 31.84 kB / 0.5708 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.3405, allocations: 11.98 kB / 0.5708 GB, free: 9.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003672/0.3408, allocations: 339 kB / 0.5712 GB, free: 8.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3408, allocations: 0 / 0.5712 GB, free: 8.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.3412, allocations: 47.94 kB / 0.5712 GB, free: 8.922 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.002858/0.344, allocations: 1.424 MB / 0.5726 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.3444, allocations: 159.9 kB / 0.5728 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3444, allocations: 0 / 0.5728 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.3446, allocations: 87.83 kB / 0.5728 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.3452, allocations: 58.52 kB / 0.5729 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.3491, allocations: 2.912 MB / 0.5757 GB, free: 4.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3493, allocations: 174 kB / 0.5759 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.3495, allocations: 37.92 kB / 0.5759 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.3496, allocations: 95.39 kB / 0.576 GB, free: 4.004 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3496, allocations: 4 kB / 0.576 GB, free: 4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.3843, allocations: 7.266 MB / 0.5831 GB, free: 12.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 3.938 kB / 0.5831 GB, free: 12.78 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.43066834891215]