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.001765/0.001765, 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.002137/0.002137, allocations: 211 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.421/1.421, 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.92 MB / 361.6 MB, free: 4.188 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 75.88 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3191, allocations: 66.09 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003333/0.3225, allocations: 1.932 MB / 0.5635 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3244, allocations: 1.154 MB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.3245, allocations: 7.938 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.3249, allocations: 227.3 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.3254, allocations: 211.2 kB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.3256, allocations: 119.6 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.3259, allocations: 267.2 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.326, allocations: 19.92 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.3262, allocations: 135.4 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.3265, allocations: 171.5 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.3265, allocations: 8 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.3266, allocations: 64.06 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/0.3267, allocations: 63.61 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3268, allocations: 87.3 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.3271, allocations: 246.8 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3271, allocations: 0 / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3271, allocations: 0 / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3272, allocations: 0 / 0.5661 GB, free: 15.58 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.0007267/0.3279, allocations: 0.5042 MB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3279, allocations: 8.031 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.716e-05/0.3279, allocations: 4.188 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.328, allocations: 34.75 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.328, allocations: 36.73 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.3284, allocations: 230.4 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3284, allocations: 8.375 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3285, allocations: 8.359 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.3287, allocations: 117.6 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3287, allocations: 0 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.3287, allocations: 7.984 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3287, allocations: 4 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3289, allocations: 43.91 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.3294, allocations: 451.9 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.3298, allocations: 117.2 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/0.3299, allocations: 37.83 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3299, allocations: 4 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.3302, allocations: 125 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.3302, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001293/0.3315, allocations: 0.4977 MB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.3315, allocations: 85.11 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.332, allocations: 452.4 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.332, allocations: 33.7 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3322, allocations: 152.5 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.253e-05/0.3322, allocations: 83.34 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.3323, allocations: 37.72 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3325, allocations: 346.8 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3326, allocations: 63.97 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.3328, allocations: 88.72 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.333, allocations: 155.5 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.333, allocations: 0 / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004262/0.3335, allocations: 241.3 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3335, allocations: 7.938 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3335, allocations: 80 / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3335, allocations: 4 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3337, allocations: 47.91 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3337, allocations: 3.984 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.3337, allocations: 11.95 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3338, allocations: 8 kB / 0.57 GB, free: 11.33 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.0001806/0.3339, allocations: 178.2 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.334, allocations: 31.75 kB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005306/0.3345, allocations: 264.3 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3345, allocations: 8 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3345, allocations: 0 / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3345, allocations: 3.984 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009859/0.3355, allocations: 0.7067 MB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3355, allocations: 0 / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-05/0.3356, allocations: 27.98 kB / 0.5712 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3356, allocations: 4 kB / 0.5712 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.3356, allocations: 11.98 kB / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.3357, allocations: 7.938 kB / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3357, allocations: 0 / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.3362, allocations: 430.1 kB / 0.5717 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.3362, allocations: 27.77 kB / 0.5717 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.3363, allocations: 12 kB / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3364, allocations: 11.98 kB / 0.5717 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.3364, allocations: 27.8 kB / 0.5717 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.3365, allocations: 11.98 kB / 0.5717 GB, free: 9.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003458/0.3368, allocations: 331 kB / 0.5721 GB, free: 9.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3368, allocations: 0 / 0.5721 GB, free: 9.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003499/0.3372, allocations: 47.94 kB / 0.5721 GB, free: 9.105 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.002699/0.3399, allocations: 1.363 MB / 0.5734 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003686/0.3402, allocations: 155.6 kB / 0.5736 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3402, allocations: 0 / 0.5736 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.3404, allocations: 71.84 kB / 0.5737 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.3409, allocations: 67.77 kB / 0.5737 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.3446, allocations: 2.881 MB / 0.5765 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.345, allocations: 0.7791 MB / 0.5773 GB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.3451, allocations: 37.92 kB / 0.5773 GB, free: 3.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3453, allocations: 99.39 kB / 0.5774 GB, free: 3.66 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3453, allocations: 0 / 0.5774 GB, free: 3.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.373, allocations: 6.715 MB / 0.584 GB, free: 13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.26, allocations: 11.61 kB / 0.584 GB, free: 12.99 MB / 430.1 MB " [Timeout remaining time 649] (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.308749330986757]