Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.0008189/0.0008189, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008407/0.0008407, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9467/0.9467, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2922/0.2922, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.408e-05, allocations: 4.391 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002236/0.00225, allocations: 1.599 MB / 441.2 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.002919, allocations: 0.522 MB / 441.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.002971, allocations: 3.938 kB / 441.7 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.003151, allocations: 23.8 kB / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.003375, allocations: 79.61 kB / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.003553, allocations: 91.62 kB / 441.9 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.003682, allocations: 63.78 kB / 442 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.003771, allocations: 8 kB / 442 MB, free: 1.836 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.512e-05/0.003827, allocations: 31.91 kB / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.821e-05/0.003885, allocations: 23.91 kB / 442 MB, free: 1.781 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.003898, allocations: 4 kB / 442 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.059e-05/0.003958, allocations: 31.94 kB / 442.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.004005, allocations: 15.92 kB / 442.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.004029, allocations: 11.92 kB / 442.1 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.004168, allocations: 79.72 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.00417, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.004171, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004175, allocations: 3.938 kB / 442.2 MB, free: 1.637 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00036/0.004535, allocations: 313.8 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.004574, allocations: 8.031 kB / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.004602, allocations: 34.75 kB / 442.5 MB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.004628, allocations: 8.891 kB / 442.5 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.004757, allocations: 133.7 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.004765, allocations: 384 / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.004783, allocations: 4.375 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.004894, allocations: 50.23 kB / 442.7 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.004904, allocations: 192 / 442.7 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.004912, allocations: 3.938 kB / 442.7 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.004917, allocations: 0 / 442.7 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/0.004975, allocations: 27.92 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.005246, allocations: 240 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.005412, allocations: 42.5 kB / 443 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.005441, allocations: 20.94 kB / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.005459, allocations: 0 / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.005476, allocations: 34.56 kB / 443.1 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.005478, allocations: 7.922 kB / 443.1 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003644/0.005842, allocations: 141.4 kB / 443.2 MB, free: 460 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.005873, allocations: 55.39 kB / 443.3 MB, free: 392 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.005974, allocations: 152.5 kB / 443.4 MB, free: 228 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.005984, allocations: 33.64 kB / 443.5 MB, free: 188 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.006024, allocations: 92.12 kB / 443.6 MB, free: 92 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.006042, allocations: 19.86 kB / 443.6 MB, free: 72 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.006071, allocations: 13.72 kB / 443.6 MB, free: 52 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2027/0.2087, allocations: 325.5 kB / 443.9 MB, free: 46.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.2089, allocations: 14.62 kB / 443.9 MB, free: 46.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.2089, allocations: 25 kB / 443.9 MB, free: 46.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.209, allocations: 43 kB / 444 MB, free: 46.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.209, allocations: 5.828 kB / 444 MB, free: 46.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001674/0.2092, allocations: 76.19 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2092, allocations: 4.844 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.2092, allocations: 2.875 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.2092, allocations: 1.75 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.2093, allocations: 13.58 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2093, allocations: 3.75 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.2093, allocations: 6.781 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.2093, allocations: 5.469 kB / 444.1 MB, free: 46.05 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 (5): * Single equations (assignments): 5 * 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.556e-05/0.2094, allocations: 118.4 kB / 444.2 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.2095, allocations: 11 kB / 444.2 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.2097, allocations: 93.08 kB / 444.3 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2097, allocations: 1.5 kB / 444.3 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.2097, allocations: 4.5 kB / 444.3 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2097, allocations: 0 / 444.3 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.21, allocations: 307.7 kB / 444.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.21, allocations: 6.609 kB / 444.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.21, allocations: 14.88 kB / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.21, allocations: 3.938 kB / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.21, allocations: 3.281 kB / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.21, allocations: 2.969 kB / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.21, allocations: 0 / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.2102, allocations: 179.3 kB / 444.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-06/0.2102, allocations: 6.172 kB / 444.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2102, allocations: 6.438 kB / 444.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.2102, allocations: 7.406 kB / 444.9 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.2102, allocations: 6.906 kB / 444.9 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.2102, allocations: 0.5 kB / 444.9 MB, free: 45.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.738e-05/0.2103, allocations: 123.8 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2103, allocations: 0 / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.2105, allocations: 17.17 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001073/0.2116, allocations: 1.037 MB / 446 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.2117, allocations: 51.36 kB / 446.1 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2117, allocations: 0 / 446.1 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.985e-05/0.2118, allocations: 24.88 kB / 446.1 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.2121, allocations: 22.91 kB / 446.1 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.2132, allocations: 1.44 MB / 447.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.171e-05/0.2133, allocations: 86.19 kB / 447.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.49e-05/0.2134, allocations: 11.88 kB / 447.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.2134, allocations: 21.78 kB / 447.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2134, allocations: 0 / 447.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.2315, allocations: 3.257 MB / 450.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/6.856, allocations: 2.5 kB / 451 MB, free: 42.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.94355985801667]