Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.0008724/0.0008724, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001016/0.001016, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8881/0.8881, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1391/0.1391, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.332e-05, allocations: 6.078 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002187/0.00221, allocations: 1.672 MB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.003148, allocations: 0.7804 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.003224, allocations: 3.938 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.003525, allocations: 55.75 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.003732, allocations: 63.69 kB / 409.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.003931, allocations: 95.62 kB / 409.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.004078, allocations: 95.69 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.004172, allocations: 12.22 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.004249, allocations: 51.78 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.004318, allocations: 23.91 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.004338, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.004414, allocations: 43.92 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.004469, allocations: 35.86 kB / 409.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.004509, allocations: 23.91 kB / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.004685, allocations: 127.5 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.004688, allocations: 7.938 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.004689, allocations: 0 / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.004694, allocations: 0 / 410 MB, free: 15.05 MB / 394.7 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.0004479/0.005142, allocations: 365.3 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.005182, allocations: 8.031 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.005212, allocations: 42.69 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.005251, allocations: 16.83 kB / 410.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.005456, allocations: 158.5 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.005468, allocations: 384 / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.005485, allocations: 4.375 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.005612, allocations: 57.98 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.005622, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.005633, allocations: 4 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005638, allocations: 0 / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.146e-05/0.005689, allocations: 23.92 kB / 410.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.005992, allocations: 271.9 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.006115, allocations: 62.66 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.006148, allocations: 20.86 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.006163, allocations: 4 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.006286, allocations: 71.31 kB / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.006287, allocations: 0 / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000412/0.006699, allocations: 197.3 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.00673, allocations: 55.34 kB / 411.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.0069, allocations: 275.8 kB / 411.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.006913, allocations: 29.7 kB / 411.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.006969, allocations: 116.1 kB / 411.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.006996, allocations: 27.78 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.00703, allocations: 21.72 kB / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.007112, allocations: 334.8 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.007149, allocations: 20 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.215e-05/0.007191, allocations: 37.7 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.633e-05/0.007267, allocations: 61.64 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007269, allocations: 0 / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001183/0.007387, allocations: 113.7 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.0074, allocations: 4 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007406, allocations: 0 / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.007419, allocations: 4.188 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.007487, allocations: 19.92 kB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.007492, allocations: 3.938 kB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.007524, allocations: 4 kB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.007531, allocations: 4 kB / 412.4 MB, free: 12.45 MB / 394.7 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 8.05e-05/0.007611, allocations: 141.8 kB / 412.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.007628, allocations: 15.86 kB / 412.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.0078, allocations: 131 kB / 412.7 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.007804, allocations: 4 kB / 412.7 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.007808, allocations: 0 / 412.7 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007812, allocations: 0 / 412.7 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.008145, allocations: 378.4 kB / 413.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008146, allocations: 0 / 413.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.008174, allocations: 15.98 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.008177, allocations: 3.938 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.008187, allocations: 4 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008189, allocations: 384 / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.008193, allocations: 11.97 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.00834, allocations: 212.2 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.008629, allocations: 19.89 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.008646, allocations: 0 / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.008686, allocations: 4 kB / 413.3 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.008721, allocations: 19.86 kB / 413.3 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.008736, allocations: 4 kB / 413.3 MB, free: 11.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.008851, allocations: 209.4 kB / 413.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008851, allocations: 0 / 413.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.009028, allocations: 27.94 kB / 413.6 MB, free: 11.19 MB / 394.7 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.001003/0.01003, allocations: 1.129 MB / 414.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.01017, allocations: 63.91 kB / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01017, allocations: 8 kB / 414.8 MB, free: 9.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.01022, allocations: 31.97 kB / 414.8 MB, free: 9.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.01047, allocations: 32.02 kB / 414.8 MB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.01185, allocations: 1.852 MB / 416.7 MB, free: 7.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.641e-05/0.01193, allocations: 113.2 kB / 416.8 MB, free: 7.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.438e-05/0.01197, allocations: 8.5 kB / 416.8 MB, free: 7.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.01203, allocations: 48.47 kB / 416.9 MB, free: 7.801 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01203, allocations: 0 / 416.9 MB, free: 7.801 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.03106, allocations: 4.593 MB / 421.4 MB, free: 3.066 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.531/6.562, allocations: 7.844 kB / 421.5 MB, free: 3.059 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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: 8.58541049156338]