Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.002025/0.002025, allocations: 114 kB / 20.43 MB, free: 1.457 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.002097/0.002097, allocations: 217.1 kB / 23.74 MB, free: 4.672 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.547/1.547, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.2464/0.2464, allocations: 46.92 MB / 360.8 MB, free: 4.262 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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 83.81 kB / 0.4963 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3855, allocations: 66.07 MB / 0.5608 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003725/0.3892, allocations: 1.753 MB / 0.5625 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.392, allocations: 1.742 MB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.493e-05/0.3921, allocations: 3.938 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.3925, allocations: 35.77 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.3928, allocations: 103.5 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.393, allocations: 79.67 kB / 0.5644 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3933, allocations: 111.7 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3934, allocations: 13.83 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3935, allocations: 47.78 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.3937, allocations: 55.77 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.3937, allocations: 4 kB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.3939, allocations: 107.9 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.394, allocations: 27.91 kB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.394, allocations: 39.69 kB / 0.5648 GB, free: 152 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.3944, allocations: 171.5 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3944, allocations: 4 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3944, allocations: 0 / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3944, allocations: 0 / 0.565 GB, free: 15.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007479/0.3952, allocations: 369.4 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3952, allocations: 12.03 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.3953, allocations: 30.75 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.3953, allocations: 8.891 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.3956, allocations: 162.3 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.3957, allocations: 4.375 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3957, allocations: 4.375 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3959, allocations: 83.48 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3959, allocations: 3.953 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3959, allocations: 4 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3959, allocations: 4 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.396, allocations: 27.92 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.3965, allocations: 275.8 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.3967, allocations: 66.67 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.3968, allocations: 20.84 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.3968, allocations: 4 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.397, allocations: 75.31 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.397, allocations: 0 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000639/0.3976, allocations: 197.3 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.3977, allocations: 85.11 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.3979, allocations: 167.5 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3979, allocations: 29.7 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.398, allocations: 100.2 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.398, allocations: 43.73 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.3981, allocations: 21.72 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3982, allocations: 326.8 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.3983, allocations: 27.98 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.087e-05/0.3984, allocations: 46.56 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3985, allocations: 73.64 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3985, allocations: 0 / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002258/0.3988, allocations: 109.5 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3988, allocations: 7.984 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3988, allocations: 0 / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3988, allocations: 8.062 kB / 0.5673 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.3989, allocations: 15.94 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3989, allocations: 4 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.399, allocations: 7.984 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.399, allocations: 4 kB / 0.5673 GB, free: 13.37 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 (11): * Single equations (assignments): 11 * 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.0001183/0.3991, allocations: 128 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3991, allocations: 7.953 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.3994, allocations: 130.2 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.3994, allocations: 8 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3994, allocations: 4 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3994, allocations: 192 / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.3999, allocations: 394.3 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3999, allocations: 3.938 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.4, allocations: 11.98 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4, allocations: 4 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.4, allocations: 0 / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4, allocations: 3.938 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4, allocations: 4.578 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.4003, allocations: 220.3 kB / 0.5682 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.4003, allocations: 11.91 kB / 0.5682 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.4003, allocations: 4 kB / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.4004, allocations: 11.92 kB / 0.5682 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.4005, allocations: 11.94 kB / 0.5682 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4005, allocations: 7.984 kB / 0.5682 GB, free: 12.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.4006, allocations: 127.2 kB / 0.5683 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4006, allocations: 0 / 0.5683 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.401, allocations: 51.86 kB / 0.5684 GB, free: 12.16 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.002686/0.4037, allocations: 1.184 MB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.4039, allocations: 71.78 kB / 0.5696 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4039, allocations: 0 / 0.5696 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.404, allocations: 32.11 kB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4044, allocations: 36.06 kB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.4064, allocations: 1.657 MB / 0.5713 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.4067, allocations: 0.7045 MB / 0.572 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.603e-05/0.4068, allocations: 20.42 kB / 0.572 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.4069, allocations: 43.41 kB / 0.572 GB, free: 8.453 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4069, allocations: 0 / 0.572 GB, free: 8.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.4388, allocations: 4.364 MB / 0.5763 GB, free: 4.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.46, allocations: 0 / 0.5763 GB, free: 4.102 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.683914377121255]