Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001317/0.001317, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00222/0.00222, allocations: 215.1 kB / 23.74 MB, free: 4.656 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 44.93 MB / 358.8 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.84 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4082, allocations: 65.47 MB / 0.5571 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00382/0.412, allocations: 1.748 MB / 0.5588 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.414, allocations: 1.049 MB / 0.5598 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.4141, allocations: 3.938 kB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.4144, allocations: 47.75 kB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.4148, allocations: 95.59 kB / 0.56 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.415, allocations: 87.66 kB / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.4152, allocations: 103.7 kB / 0.5601 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.4154, allocations: 9.812 kB / 0.5602 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.4155, allocations: 51.72 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.4155, allocations: 31.84 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.4156, allocations: 4 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.874e-05/0.4157, allocations: 39.98 kB / 0.5603 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.4157, allocations: 27.84 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.4158, allocations: 35.75 kB / 0.5603 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.4161, allocations: 139.4 kB / 0.5605 GB, free: 4.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4161, allocations: 0 / 0.5605 GB, free: 4.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4161, allocations: 4 kB / 0.5605 GB, free: 4.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.4161, allocations: 0 / 0.5605 GB, free: 4.281 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.0006322/0.4167, allocations: 365.3 kB / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4167, allocations: 8.031 kB / 0.5608 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.4168, allocations: 30.75 kB / 0.5609 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.4168, allocations: 12.89 kB / 0.5609 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.4172, allocations: 159.1 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4172, allocations: 8.359 kB / 0.561 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.4172, allocations: 7.938 kB / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.4174, allocations: 57.61 kB / 0.5611 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4174, allocations: 0 / 0.5611 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.4174, allocations: 0 / 0.5611 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4174, allocations: 4 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.56e-05/0.4175, allocations: 15.98 kB / 0.5611 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.418, allocations: 263.9 kB / 0.5614 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.4181, allocations: 66.61 kB / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.4182, allocations: 16.86 kB / 0.5614 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4182, allocations: 0 / 0.5614 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.4184, allocations: 63.38 kB / 0.5615 GB, free: 3.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4184, allocations: 4 kB / 0.5615 GB, free: 3.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005732/0.419, allocations: 185.3 kB / 0.5617 GB, free: 2.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.419, allocations: 51.41 kB / 0.5617 GB, free: 2.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.4193, allocations: 246.9 kB / 0.562 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.4194, allocations: 25.7 kB / 0.562 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.4195, allocations: 112.1 kB / 0.5621 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.4196, allocations: 27.78 kB / 0.5621 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.4196, allocations: 25.66 kB / 0.5622 GB, free: 2.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4198, allocations: 330.8 kB / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.4199, allocations: 20 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.4199, allocations: 42.02 kB / 0.5625 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.42, allocations: 61.77 kB / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.42, allocations: 0 / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002855/0.4203, allocations: 105.5 kB / 0.5627 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4204, allocations: 8.016 kB / 0.5627 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4204, allocations: 4 kB / 0.5627 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4204, allocations: 0 / 0.5627 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.4205, allocations: 19.94 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4205, allocations: 0 / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.4205, allocations: 11.94 kB / 0.5627 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.4205, allocations: 3.984 kB / 0.5627 GB, free: 1.754 MB / 398.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.0001227/0.4207, allocations: 133.7 kB / 0.5629 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.4207, allocations: 15.91 kB / 0.5629 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.4209, allocations: 119 kB / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4209, allocations: 4 kB / 0.563 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.421, allocations: 3.984 kB / 0.563 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.421, allocations: 3.938 kB / 0.563 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.4215, allocations: 370.4 kB / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4215, allocations: 0 / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.4215, allocations: 11.98 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4215, allocations: 3.938 kB / 0.5634 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.4215, allocations: 4.031 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4215, allocations: 7.938 kB / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4215, allocations: 0 / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.4218, allocations: 200.3 kB / 0.5636 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.4218, allocations: 11.91 kB / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.4218, allocations: 7.938 kB / 0.5636 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.4219, allocations: 7.984 kB / 0.5636 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.422, allocations: 8 kB / 0.5636 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.422, allocations: 7.984 kB / 0.5636 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.4222, allocations: 167.2 kB / 0.5638 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4222, allocations: 0 / 0.5638 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.4224, allocations: 27.92 kB / 0.5638 GB, free: 0.5664 MB / 398.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 (8): * Single equations (assignments): 6 * 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.002459/0.4249, allocations: 1.102 MB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.4251, allocations: 59.91 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4251, allocations: 0 / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.4252, allocations: 23.94 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.4255, allocations: 44.22 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.4277, allocations: 1.746 MB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.4283, allocations: 0.7158 MB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.204e-05/0.4283, allocations: 17.27 kB / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.4284, allocations: 39.42 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4284, allocations: 0 / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.4612, allocations: 3.806 MB / 0.5712 GB, free: 9.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.36, allocations: 0 / 0.5712 GB, free: 9.129 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.517253076890483]