Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0007788/0.0007788, 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.0008044/0.0008044, allocations: 174 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.8738/0.8738, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2142/0.2142, allocations: 32.79 MB / 293.5 MB, free: 1.199 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.439e-05, allocations: 2.844 kB / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002081/0.002106, allocations: 1.59 MB / 441.2 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007324/0.002838, allocations: 0.5336 MB / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.002891, allocations: 0 / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.003083, allocations: 35.72 kB / 441.8 MB, free: 2.039 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.003319, allocations: 79.62 kB / 441.8 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.003541, allocations: 116.3 kB / 442 MB, free: 1.852 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.003656, allocations: 67.77 kB / 442 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.003742, allocations: 11.98 kB / 442 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.003792, allocations: 27.92 kB / 442.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.003843, allocations: 19.92 kB / 442.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.003855, allocations: 0 / 442.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.374e-05/0.003919, allocations: 35.91 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.003964, allocations: 15.94 kB / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.003989, allocations: 19.92 kB / 442.1 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.004128, allocations: 83.66 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004131, allocations: 0 / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.004133, allocations: 4 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004137, allocations: 0 / 442.2 MB, free: 1.57 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.0003431/0.00448, allocations: 317.8 kB / 442.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.004514, allocations: 16.02 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.432e-05/0.004539, allocations: 30.75 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.004564, allocations: 12.84 kB / 442.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.004683, allocations: 138.2 kB / 442.7 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.00469, allocations: 4.375 kB / 442.7 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.004706, allocations: 4.375 kB / 442.7 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.004808, allocations: 61.72 kB / 442.8 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004816, allocations: 3.938 kB / 442.8 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.004823, allocations: 0 / 442.8 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.004827, allocations: 4 kB / 442.8 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.004879, allocations: 19.98 kB / 442.8 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.005139, allocations: 248 kB / 443.1 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.005292, allocations: 46.5 kB / 443.1 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.005321, allocations: 24.94 kB / 443.1 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.005338, allocations: 0 / 443.1 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.005352, allocations: 30.56 kB / 443.2 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.005353, allocations: 0 / 443.2 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.00036/0.005713, allocations: 157.4 kB / 443.3 MB, free: 344 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.005739, allocations: 51.41 kB / 443.4 MB, free: 280 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.005846, allocations: 177.6 kB / 443.6 MB, free: 92 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.005855, allocations: 33.7 kB / 443.6 MB, free: 52 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1561/0.162, allocations: 97.03 kB / 443.7 MB, free: 46.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.162, allocations: 10.25 kB / 443.7 MB, free: 46.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.1621, allocations: 22.08 kB / 443.7 MB, free: 46.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.1621, allocations: 324.9 kB / 444 MB, free: 46.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.1622, allocations: 18.48 kB / 444 MB, free: 46.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.1622, allocations: 25.73 kB / 444.1 MB, free: 46.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.845e-05/0.1623, allocations: 52.19 kB / 444.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1623, allocations: 4.375 kB / 444.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001302/0.1625, allocations: 89.34 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1625, allocations: 7.656 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1625, allocations: 0.75 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1625, allocations: 0 / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/0.1625, allocations: 16.47 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1625, allocations: 3.281 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.1626, allocations: 11.17 kB / 444.3 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1626, allocations: 3 kB / 444.3 MB, free: 46.04 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 5.216e-05/0.1626, allocations: 118.7 kB / 444.4 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.1626, allocations: 7.609 kB / 444.4 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.1628, allocations: 100.2 kB / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1628, allocations: 0 / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1628, allocations: 5.438 kB / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1628, allocations: 4.438 kB / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.1631, allocations: 324.1 kB / 444.8 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1631, allocations: 3.422 kB / 444.8 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.1631, allocations: 9.125 kB / 444.8 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1631, allocations: 6.906 kB / 444.8 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.1631, allocations: 3.969 kB / 444.8 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1631, allocations: 3.281 kB / 444.8 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1631, allocations: 0 / 444.8 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.1632, allocations: 190.4 kB / 445 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.1632, allocations: 11.02 kB / 445 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1632, allocations: 0 / 445 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.479e-05/0.1633, allocations: 9.031 kB / 445 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.1633, allocations: 3.094 kB / 445 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1633, allocations: 2.875 kB / 445 MB, free: 45.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.384e-05/0.1633, allocations: 135 kB / 445.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1633, allocations: 2.344 kB / 445.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.1635, allocations: 26.84 kB / 445.2 MB, free: 45.41 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.0008045/0.1643, allocations: 1.049 MB / 446.2 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.1644, allocations: 50.75 kB / 446.3 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1644, allocations: 0.75 kB / 446.3 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.1645, allocations: 25.97 kB / 446.3 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.1647, allocations: 26.41 kB / 446.3 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/0.1656, allocations: 1.514 MB / 447.9 MB, free: 43.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.1656, allocations: 90.73 kB / 448 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.724e-05/0.1656, allocations: 17.84 kB / 448 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1657, allocations: 29.52 kB / 448 MB, free: 43.43 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1657, allocations: 0 / 448 MB, free: 43.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.1818, allocations: 3.391 MB / 451.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.757/6.939, allocations: 10.27 kB / 451.4 MB, free: 42.12 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.783076338469982]