Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 208.9 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 46.96 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 0.4962 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 66.03 MB / 0.5606 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003844/0.3229, allocations: 1.674 MB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3247, allocations: 0.9481 MB / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.3248, allocations: 0 / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.3252, allocations: 63.73 kB / 0.5633 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.3255, allocations: 115.5 kB / 0.5634 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.3258, allocations: 75.72 kB / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.326, allocations: 107.6 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.326, allocations: 8.219 kB / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.876e-05/0.3261, allocations: 51.77 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.3263, allocations: 39.84 kB / 0.5636 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.3263, allocations: 4 kB / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.3264, allocations: 39.91 kB / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.3264, allocations: 19.92 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.3265, allocations: 23.86 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.3267, allocations: 117.3 kB / 0.5638 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3267, allocations: 0 / 0.5638 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3267, allocations: 0 / 0.5638 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3267, allocations: 0 / 0.5638 GB, free: 0.7695 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.0005773/0.3273, allocations: 337.6 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3273, allocations: 12.03 kB / 0.5642 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.3274, allocations: 34.75 kB / 0.5642 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.3274, allocations: 12.84 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.3277, allocations: 147 kB / 0.5644 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3277, allocations: 384 / 0.5644 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.3277, allocations: 7.938 kB / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3279, allocations: 57.61 kB / 0.5644 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3279, allocations: 0 / 0.5644 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3279, allocations: 0 / 0.5644 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3279, allocations: 0 / 0.5644 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.328, allocations: 19.98 kB / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.3282, allocations: 156.7 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.3284, allocations: 50.56 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.3284, allocations: 24.84 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3285, allocations: 0 / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.3286, allocations: 71.27 kB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3286, allocations: 0 / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003098/0.3289, allocations: 97.8 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.329, allocations: 55.41 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3292, allocations: 198.3 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3292, allocations: 25.7 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.3293, allocations: 108.1 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.3293, allocations: 15.84 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.3293, allocations: 21.72 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3295, allocations: 326.8 kB / 0.5655 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-05/0.3295, allocations: 16.05 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-05/0.3296, allocations: 37.64 kB / 0.5656 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.3297, allocations: 45.7 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3297, allocations: 3.938 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001767/0.3299, allocations: 85.53 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3299, allocations: 4 kB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3299, allocations: 4.031 kB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3299, allocations: 0 / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.33, allocations: 19.98 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.33, allocations: 0 / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.3301, allocations: 0 / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3301, allocations: 4 kB / 0.5657 GB, free: 14.61 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.0001065/0.3302, allocations: 129.7 kB / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.3302, allocations: 11.95 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.3304, allocations: 90.77 kB / 0.566 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3304, allocations: 4 kB / 0.566 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3304, allocations: 4 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3304, allocations: 3.984 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3306, allocations: 160.6 kB / 0.5661 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3306, allocations: 0 / 0.5661 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.3306, allocations: 8 kB / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3306, allocations: 0 / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.3306, allocations: 0 / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3306, allocations: 4.109 kB / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3306, allocations: 7.938 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.3308, allocations: 121 kB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.3309, allocations: 15.91 kB / 0.5663 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.3309, allocations: 4 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.3309, allocations: 0 / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.331, allocations: 7.984 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.331, allocations: 4 kB / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3311, allocations: 148.2 kB / 0.5664 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3311, allocations: 3.938 kB / 0.5664 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000221/0.3313, allocations: 23.94 kB / 0.5665 GB, free: 13.78 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.00198/0.3333, allocations: 0.9848 MB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.3335, allocations: 47.97 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3335, allocations: 0 / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.486e-05/0.3336, allocations: 23.92 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3338, allocations: 32.36 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.3356, allocations: 1.522 MB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.858e-05/0.3357, allocations: 97.31 kB / 0.5691 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.429e-05/0.3358, allocations: 16.47 kB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.3358, allocations: 35.42 kB / 0.5692 GB, free: 11.08 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3358, allocations: 0 / 0.5692 GB, free: 11.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.3661, allocations: 3.86 MB / 0.5729 GB, free: 7.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11, allocations: 6.562 kB / 0.5729 GB, free: 7.273 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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: 13.93513523999718]