Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.0009653/0.0009653, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001111/0.001111, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9131/0.9131, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.264/0.264, allocations: 32.79 MB / 293.5 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.146e-05, allocations: 2.281 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.00226/0.002282, allocations: 1.611 MB / 441.2 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007705/0.003052, allocations: 0.5297 MB / 441.7 MB, free: 2.059 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.003119, allocations: 3.938 kB / 441.7 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.003388, allocations: 71.7 kB / 441.8 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.003714, allocations: 107.5 kB / 441.9 MB, free: 1.879 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.003984, allocations: 94.81 kB / 442 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.004163, allocations: 83.75 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.004272, allocations: 15.98 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.696e-05/0.004339, allocations: 39.89 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004439, allocations: 59.88 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.004455, allocations: 4 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.004546, allocations: 47.91 kB / 442.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.004603, allocations: 27.8 kB / 442.3 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.004639, allocations: 11.94 kB / 442.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.004822, allocations: 111.6 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004825, allocations: 0 / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.004827, allocations: 0 / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.004832, allocations: 0 / 442.4 MB, free: 1.395 MB / 410.7 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.0003951/0.005227, allocations: 337.6 kB / 442.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.00527, allocations: 12.03 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.005301, allocations: 38.69 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.005332, allocations: 16.84 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.005478, allocations: 142.3 kB / 442.9 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.005487, allocations: 384 / 442.9 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.005508, allocations: 8.359 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.005636, allocations: 54.19 kB / 443 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.005646, allocations: 192 / 443 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.005656, allocations: 3.938 kB / 443 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.005661, allocations: 4 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.005727, allocations: 27.97 kB / 443 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.006037, allocations: 259.9 kB / 443.3 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.006121, allocations: 50.48 kB / 443.3 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.006151, allocations: 16.94 kB / 443.4 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.006173, allocations: 0 / 443.4 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.006193, allocations: 30.56 kB / 443.4 MB, free: 284 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.006194, allocations: 0 / 443.4 MB, free: 284 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005845/0.006778, allocations: 229.2 kB / 443.6 MB, free: 48 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2116/0.2184, allocations: 51.41 kB / 443.7 MB, free: 46.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.2187, allocations: 213.8 kB / 443.9 MB, free: 46.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2187, allocations: 25.7 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.2187, allocations: 106.6 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.2188, allocations: 26.3 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.2188, allocations: 19.59 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.2189, allocations: 334.3 kB / 444.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.885e-05/0.2189, allocations: 21.95 kB / 444.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.219, allocations: 29.8 kB / 444.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.2191, allocations: 67.88 kB / 444.5 MB, free: 45.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2191, allocations: 2.188 kB / 444.5 MB, free: 45.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001533/0.2193, allocations: 101.6 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2193, allocations: 5.875 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2193, allocations: 0 / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2193, allocations: 1.531 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.2194, allocations: 22.78 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.2194, allocations: 0 / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.2194, allocations: 10.38 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2194, allocations: 2.812 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.504e-05/0.2195, allocations: 129.5 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.2195, allocations: 13.72 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.2197, allocations: 121.5 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.2197, allocations: 3.938 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2197, allocations: 0 / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2197, allocations: 1.969 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.2201, allocations: 373.8 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2201, allocations: 0 / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.2201, allocations: 24.98 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2201, allocations: 0 / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2202, allocations: 2.906 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2202, allocations: 0 / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2202, allocations: 5.953 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.2203, allocations: 205.2 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.2203, allocations: 13.19 kB / 445.5 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2203, allocations: 3.438 kB / 445.5 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.2204, allocations: 7.531 kB / 445.5 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.2204, allocations: 13.73 kB / 445.5 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2204, allocations: 2.938 kB / 445.5 MB, free: 45.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.2205, allocations: 164.6 kB / 445.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2205, allocations: 2.688 kB / 445.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.2207, allocations: 20.25 kB / 445.7 MB, free: 45.28 MB / 410.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009843/0.2216, allocations: 1.127 MB / 446.8 MB, free: 44.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.2218, allocations: 53.12 kB / 446.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2218, allocations: 3.25 kB / 446.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.2218, allocations: 37 kB / 446.9 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.2221, allocations: 23.22 kB / 447 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.2232, allocations: 1.675 MB / 448.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.816e-05/0.2233, allocations: 99.3 kB / 448.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.427e-05/0.2233, allocations: 13.27 kB / 448.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.2234, allocations: 40.09 kB / 448.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2234, allocations: 0 / 448.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.2419, allocations: 3.819 MB / 452.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.681/6.922, allocations: 6.156 kB / 452.6 MB, free: 41.75 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.961231985129416]