Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.0008353/0.0008353, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0009072/0.0009072, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8794/0.8794, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2342/0.2342, allocations: 32.78 MB / 293.5 MB, free: 1.227 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.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.848e-05, allocations: 2.281 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002364/0.002382, allocations: 1.642 MB / 441.3 MB, free: 2.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006584/0.00304, allocations: 0.5414 MB / 441.8 MB, free: 2.035 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.003096, allocations: 4 kB / 441.8 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.003294, allocations: 39.7 kB / 441.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.003516, allocations: 83.56 kB / 441.9 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.003739, allocations: 115.4 kB / 442 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.003879, allocations: 99.67 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003979, allocations: 16 kB / 442.1 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.004049, allocations: 47.88 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.004127, allocations: 35.89 kB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.004142, allocations: 4 kB / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.004216, allocations: 43.94 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.004266, allocations: 31.84 kB / 442.3 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.004295, allocations: 15.92 kB / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004459, allocations: 119.5 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004461, allocations: 0 / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004462, allocations: 4 kB / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.004467, allocations: 0 / 442.4 MB, free: 1.391 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000396/0.004863, allocations: 333.7 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.004901, allocations: 8.031 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.004941, allocations: 38.75 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.004972, allocations: 16.83 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.005113, allocations: 133.6 kB / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.005124, allocations: 12.31 kB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.005143, allocations: 4.375 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.005264, allocations: 70.22 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.005276, allocations: 12.17 kB / 443.1 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005287, allocations: 7.938 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005291, allocations: 0 / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.761e-05/0.005369, allocations: 47.95 kB / 443.1 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.005701, allocations: 295.7 kB / 443.4 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.00579, allocations: 66.55 kB / 443.5 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.005823, allocations: 20.84 kB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.005842, allocations: 4 kB / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.005859, allocations: 34.5 kB / 443.5 MB, free: 180 kB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.00586, allocations: 4 kB / 443.5 MB, free: 176 kB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.1444/0.1502, allocations: 319.6 kB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.1503, allocations: 57.5 kB / 443.9 MB, free: 46.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.1503, allocations: 162.1 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.1504, allocations: 30.7 kB / 444.1 MB, free: 46.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.1504, allocations: 102.7 kB / 444.2 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1504, allocations: 47.72 kB / 444.2 MB, free: 46.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.1504, allocations: 28.19 kB / 444.3 MB, free: 46.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.772e-05/0.1505, allocations: 325 kB / 444.6 MB, free: 45.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.1505, allocations: 41.91 kB / 444.6 MB, free: 45.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.034e-05/0.1506, allocations: 49.14 kB / 444.7 MB, free: 45.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1507, allocations: 110.2 kB / 444.8 MB, free: 45.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1507, allocations: 0 / 444.8 MB, free: 45.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001411/0.1508, allocations: 158.5 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1508, allocations: 5.438 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1508, allocations: 0 / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1509, allocations: 0 / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.1509, allocations: 31.45 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.1509, allocations: 1.875 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.151, allocations: 7.656 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.151, allocations: 2.938 kB / 445 MB, free: 45.79 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 (13): * Single equations (assignments): 13 * 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 4.692e-05/0.151, allocations: 129.1 kB / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.151, allocations: 18.69 kB / 445.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.1512, allocations: 187.2 kB / 445.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1512, allocations: 2.812 kB / 445.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1512, allocations: 0 / 445.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1512, allocations: 0 / 445.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.1516, allocations: 460.5 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1516, allocations: 0 / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.1516, allocations: 30.36 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1516, allocations: 2.844 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1516, allocations: 4 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1516, allocations: 2.938 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1516, allocations: 3.875 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.1517, allocations: 247.7 kB / 446 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.1518, allocations: 16.39 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1518, allocations: 4 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.1518, allocations: 5.75 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.1518, allocations: 12.83 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1518, allocations: 13.53 kB / 446.1 MB, free: 45.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.989e-05/0.1519, allocations: 122.1 kB / 446.2 MB, free: 45.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1519, allocations: 3.75 kB / 446.2 MB, free: 45.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.152, allocations: 30.2 kB / 446.2 MB, free: 45.06 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 (13): * Single equations (assignments): 13 * 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.0008675/0.1529, allocations: 1.157 MB / 447.4 MB, free: 44.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1531, allocations: 108.3 kB / 447.5 MB, free: 44.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.1531, allocations: 0 / 447.5 MB, free: 44.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.1531, allocations: 59.08 kB / 447.6 MB, free: 44.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.1534, allocations: 33.33 kB / 447.6 MB, free: 44.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009474/0.1543, allocations: 1.752 MB / 449.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.457e-05/0.1544, allocations: 106 kB / 449.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.1544, allocations: 24.88 kB / 449.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.1545, allocations: 45.33 kB / 449.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1545, allocations: 0 / 449.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.1694, allocations: 3.979 MB / 453.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/6.956, allocations: 6.812 kB / 453.5 MB, free: 41.41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.856675326824188]