Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001333/0.001333, allocations: 116.5 kB / 20.43 MB, free: 1.305 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.001372/0.001372, allocations: 206.6 kB / 23.74 MB, free: 4.539 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.566/1.566, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2368/0.2368, allocations: 46.92 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 179] 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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003668/0.003668, allocations: 83.86 kB / 0.4963 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4119, allocations: 66.08 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004989/0.4169, allocations: 1.938 MB / 0.5627 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.4198, allocations: 1.146 MB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.42, allocations: 7.938 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.4205, allocations: 163.5 kB / 0.564 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006057/0.4211, allocations: 183.3 kB / 0.5642 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.4215, allocations: 115.7 kB / 0.5643 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.4219, allocations: 251.2 kB / 0.5645 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.4221, allocations: 19.8 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.4224, allocations: 119.5 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.4226, allocations: 151.5 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.4227, allocations: 8 kB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.4229, allocations: 63.97 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.423, allocations: 51.78 kB / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.4232, allocations: 91.41 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.4236, allocations: 215 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4236, allocations: 0 / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4236, allocations: 0 / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.4236, allocations: 0 / 0.5652 GB, free: 15.77 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.0009459/0.4246, allocations: 492.4 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.4246, allocations: 12.03 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.4247, allocations: 38.73 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.4248, allocations: 32.75 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.4253, allocations: 218.6 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.4253, allocations: 4.359 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.4253, allocations: 12.38 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.4256, allocations: 119.3 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.4257, allocations: 4 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.4257, allocations: 0 / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4257, allocations: 4 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.4259, allocations: 43.97 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.4266, allocations: 435.8 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.4271, allocations: 125.2 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.4273, allocations: 41.81 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.4273, allocations: 3.938 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.4276, allocations: 127.9 kB / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.4276, allocations: 0 / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001691/0.4293, allocations: 0.4928 MB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.4294, allocations: 81.11 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.4299, allocations: 372.5 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.4299, allocations: 33.7 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.43, allocations: 144.5 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/0.4301, allocations: 79.3 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.4302, allocations: 45.7 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4304, allocations: 342.8 kB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.4305, allocations: 59.97 kB / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.4306, allocations: 88.5 kB / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.4309, allocations: 155.6 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4309, allocations: 0 / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004109/0.4313, allocations: 237.2 kB / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4314, allocations: 12.06 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4314, allocations: 3.938 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4314, allocations: 4 kB / 0.5689 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.4315, allocations: 43.91 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.4315, allocations: 4 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.4316, allocations: 8 kB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.4316, allocations: 5.172 kB / 0.569 GB, free: 11.66 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.0001782/0.4318, allocations: 166.2 kB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.4319, allocations: 31.81 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/0.4324, allocations: 259.3 kB / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.4324, allocations: 4 kB / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4324, allocations: 3.938 kB / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4324, allocations: 0 / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.4334, allocations: 0.699 MB / 0.5701 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4334, allocations: 3.938 kB / 0.5701 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.4335, allocations: 31.92 kB / 0.5701 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4335, allocations: 4 kB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.4335, allocations: 8 kB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4335, allocations: 0 / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4335, allocations: 7.984 kB / 0.5701 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.4341, allocations: 430 kB / 0.5705 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.4341, allocations: 19.86 kB / 0.5706 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.4342, allocations: 11.98 kB / 0.5706 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4343, allocations: 8 kB / 0.5706 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.4344, allocations: 23.91 kB / 0.5706 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.4344, allocations: 12 kB / 0.5706 GB, free: 9.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003046/0.4347, allocations: 283 kB / 0.5709 GB, free: 9.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4347, allocations: 0 / 0.5709 GB, free: 9.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.4351, allocations: 43.94 kB / 0.5709 GB, free: 9.535 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.002832/0.4379, allocations: 1.362 MB / 0.5723 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003829/0.4383, allocations: 151.8 kB / 0.5724 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4383, allocations: 0 / 0.5724 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.4384, allocations: 75.78 kB / 0.5725 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.439, allocations: 75.5 kB / 0.5725 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.4427, allocations: 2.707 MB / 0.5752 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.4431, allocations: 0.7636 MB / 0.5759 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.4432, allocations: 29.94 kB / 0.576 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.4434, allocations: 91.39 kB / 0.5761 GB, free: 4.289 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4434, allocations: 4 kB / 0.5761 GB, free: 4.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.479, allocations: 6.347 MB / 0.5823 GB, free: 13.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.7, allocations: 7.875 kB / 0.5823 GB, free: 13.97 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.956350956112146]