Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001378/0.001378, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001428/0.001428, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.232/0.232, allocations: 46.96 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 71.89 kB / 0.4961 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3283, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003257/0.3316, allocations: 1.609 MB / 0.5622 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3328, allocations: 0.5349 MB / 0.5627 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.3328, allocations: 0 / 0.5627 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.3332, allocations: 107.7 kB / 0.5628 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.3336, allocations: 123.5 kB / 0.5629 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.3341, allocations: 115.5 kB / 0.563 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.3343, allocations: 87.8 kB / 0.5631 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3344, allocations: 21.75 kB / 0.5631 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.44e-05/0.3345, allocations: 47.83 kB / 0.5632 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.3347, allocations: 67.8 kB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3347, allocations: 0 / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3348, allocations: 47.98 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.3349, allocations: 23.92 kB / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.3349, allocations: 31.72 kB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.3352, allocations: 123.4 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3352, allocations: 0 / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3352, allocations: 4 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3352, allocations: 0 / 0.5635 GB, free: 1.266 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005974/0.3358, allocations: 353.5 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3359, allocations: 12.03 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.3359, allocations: 38.73 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.336, allocations: 8.891 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3362, allocations: 151.1 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.3362, allocations: 384 / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.3362, allocations: 12.31 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3364, allocations: 57.55 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3364, allocations: 7.953 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3364, allocations: 8 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3364, allocations: 0 / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.3365, allocations: 27.97 kB / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.337, allocations: 267.9 kB / 0.5644 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.3371, allocations: 46.5 kB / 0.5644 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.3371, allocations: 20.94 kB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3372, allocations: 4 kB / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.3372, allocations: 34.56 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3372, allocations: 0 / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009991/0.3382, allocations: 253.2 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.3383, allocations: 51.41 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3385, allocations: 258.9 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3386, allocations: 41.58 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.3387, allocations: 108.1 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.3387, allocations: 27.75 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.3387, allocations: 21.7 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3389, allocations: 326.8 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.5e-05/0.339, allocations: 27.98 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.3391, allocations: 31.97 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.3393, allocations: 69.06 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3393, allocations: 4 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002728/0.3395, allocations: 121.5 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3396, allocations: 8 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3396, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3396, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3397, allocations: 19.92 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3397, allocations: 3.938 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.3397, allocations: 4 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3398, allocations: 8 kB / 0.5658 GB, free: 14.68 MB / 414.1 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 0.0001191/0.3399, allocations: 129.8 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.3399, allocations: 19.84 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.3402, allocations: 139 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3402, allocations: 0 / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.3403, allocations: 7.938 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3403, allocations: 0 / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.3409, allocations: 394.3 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3409, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.341, allocations: 19.92 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.341, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.341, allocations: 4 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.341, allocations: 0 / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.341, allocations: 0 / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.3413, allocations: 216.2 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.3413, allocations: 11.89 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3413, allocations: 8.016 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.3414, allocations: 8 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3415, allocations: 7.984 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3415, allocations: 0 / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.3417, allocations: 187.2 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3417, allocations: 4 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3419, allocations: 19.94 kB / 0.5669 GB, free: 13.43 MB / 414.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: 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.002364/0.3443, allocations: 1.15 MB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3445, allocations: 71.94 kB / 0.5681 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3445, allocations: 0 / 0.5681 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.3446, allocations: 47.91 kB / 0.5682 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.345, allocations: 22.25 kB / 0.5682 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.3473, allocations: 1.795 MB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3474, allocations: 105.8 kB / 0.57 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.609e-05/0.3475, allocations: 20.95 kB / 0.5701 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.3476, allocations: 43.36 kB / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3476, allocations: 0 / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.3787, allocations: 3.892 MB / 0.5739 GB, free: 6.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.39, allocations: 6.391 kB / 0.5739 GB, free: 6.406 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.35756961395964]