Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001246/0.001246, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001539/0.001539, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2398/0.2398, allocations: 46.96 MB / 360.8 MB, free: 3.934 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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 83.88 kB / 0.4962 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.329, allocations: 66.09 MB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003209/0.3322, allocations: 1.706 MB / 0.5624 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3339, allocations: 0.967 MB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.334, allocations: 0 / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3343, allocations: 43.77 kB / 0.5634 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.3346, allocations: 95.59 kB / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.3348, allocations: 87.66 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.335, allocations: 99.64 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3351, allocations: 13.81 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.819e-05/0.3352, allocations: 43.8 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.3353, allocations: 35.77 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3353, allocations: 4 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-05/0.3354, allocations: 39.98 kB / 0.5638 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.3354, allocations: 23.91 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.3355, allocations: 23.81 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.3357, allocations: 127.4 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3357, allocations: 7.938 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3357, allocations: 0 / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3357, allocations: 0 / 0.564 GB, free: 0.6914 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.0005718/0.3363, allocations: 349.5 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3363, allocations: 12.03 kB / 0.5643 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.3364, allocations: 30.75 kB / 0.5644 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.3364, allocations: 12.88 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3367, allocations: 155 kB / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3367, allocations: 384 / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.3367, allocations: 4.375 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3369, allocations: 69.72 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3369, allocations: 0 / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3369, allocations: 0 / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3369, allocations: 4 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.337, allocations: 16.06 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.3375, allocations: 263.9 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.3376, allocations: 54.61 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.3377, allocations: 20.84 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3377, allocations: 4 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.3379, allocations: 67.39 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3379, allocations: 4 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005645/0.3384, allocations: 181.7 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.3385, allocations: 51.41 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.3387, allocations: 202.3 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3387, allocations: 29.69 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.3388, allocations: 108.1 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.3388, allocations: 31.69 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.3389, allocations: 17.72 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.339, allocations: 334.8 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.3391, allocations: 24.05 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.3392, allocations: 41.64 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.3393, allocations: 65.64 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3393, allocations: 0 / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001978/0.3395, allocations: 113.6 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3395, allocations: 4 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3395, allocations: 0 / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3395, allocations: 192 / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3396, allocations: 20.03 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3396, allocations: 7.922 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.3397, allocations: 0 / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3397, allocations: 4 kB / 0.5662 GB, free: 14.23 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.0001181/0.3398, allocations: 133.7 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.3398, allocations: 15.89 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.3401, allocations: 119 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3401, allocations: 4 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3401, allocations: 0 / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3401, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.3406, allocations: 374.4 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3406, allocations: 0 / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.3407, allocations: 8 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3407, allocations: 0 / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3407, allocations: 7.984 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3407, allocations: 3.938 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3407, allocations: 0 / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.341, allocations: 216.2 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.341, allocations: 7.953 kB / 0.567 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.341, allocations: 4.031 kB / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.3411, allocations: 11.92 kB / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.3411, allocations: 8 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.3412, allocations: 7.984 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.3413, allocations: 148.2 kB / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3413, allocations: 0 / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.3416, allocations: 27.94 kB / 0.5672 GB, free: 13.05 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 (9): * Single equations (assignments): 7 * 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.002281/0.3439, allocations: 1.136 MB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.344, allocations: 55.92 kB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3441, allocations: 0 / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.3441, allocations: 40.02 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.3445, allocations: 39.36 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.3464, allocations: 1.672 MB / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.168e-05/0.3465, allocations: 92.17 kB / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.3466, allocations: 8.984 kB / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.3466, allocations: 47.41 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3466, allocations: 0 / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.3767, allocations: 4.137 MB / 0.5743 GB, free: 5.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.98, allocations: 11.92 kB / 0.5743 GB, free: 5.891 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.89490974508226]