Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001295/0.001295, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001419/0.001419, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2561/0.2561, allocations: 46.96 MB / 360.9 MB, free: 4 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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 67.89 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3557, allocations: 66.04 MB / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003288/0.359, allocations: 1.608 MB / 0.5622 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.36, allocations: 0.5231 MB / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.3601, allocations: 4 kB / 0.5627 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.3604, allocations: 119.7 kB / 0.5628 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.3607, allocations: 131.5 kB / 0.5629 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.3609, allocations: 91.69 kB / 0.563 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3611, allocations: 103.7 kB / 0.5631 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3612, allocations: 9.812 kB / 0.5631 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.3613, allocations: 51.88 kB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.3615, allocations: 87.77 kB / 0.5633 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3615, allocations: 4 kB / 0.5633 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3616, allocations: 43.98 kB / 0.5633 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.3617, allocations: 27.86 kB / 0.5633 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.3617, allocations: 35.67 kB / 0.5634 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.362, allocations: 127.4 kB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.362, allocations: 4 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.362, allocations: 0 / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.362, allocations: 0 / 0.5635 GB, free: 1.215 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.000553/0.3625, allocations: 365.4 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3626, allocations: 8.031 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.3626, allocations: 34.75 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.3626, allocations: 20.84 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3628, allocations: 170.2 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.3628, allocations: 384 / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3629, allocations: 8.359 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.363, allocations: 57.61 kB / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.363, allocations: 0 / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.363, allocations: 0 / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.363, allocations: 4 kB / 0.5641 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.945e-05/0.3631, allocations: 27.97 kB / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.3635, allocations: 267.9 kB / 0.5644 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.3636, allocations: 42.55 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.3637, allocations: 16.86 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3637, allocations: 4 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3637, allocations: 30.56 kB / 0.5645 GB, free: 48 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3637, allocations: 0 / 0.5645 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000881/0.3646, allocations: 249.3 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3646, allocations: 55.25 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.3649, allocations: 275.8 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3649, allocations: 25.7 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.365, allocations: 116.1 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.365, allocations: 31.73 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.3651, allocations: 21.72 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3652, allocations: 326.8 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.3653, allocations: 23.98 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.3654, allocations: 27.97 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3655, allocations: 60.83 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3655, allocations: 0 / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002376/0.3658, allocations: 113.5 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3658, allocations: 4 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3658, allocations: 0 / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3658, allocations: 0 / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3659, allocations: 19.98 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3659, allocations: 7.875 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.366, allocations: 7.984 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.366, allocations: 0 / 0.5658 GB, free: 14.64 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.0001091/0.3661, allocations: 135.1 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.3661, allocations: 15.91 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.3664, allocations: 131.3 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3664, allocations: 0 / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3664, allocations: 3.938 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3664, allocations: 0 / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.3669, allocations: 374.4 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3669, allocations: 8 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.367, allocations: 23.92 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.367, allocations: 4.453 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.367, allocations: 4 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.367, allocations: 0 / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.367, allocations: 0 / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3673, allocations: 208.2 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.3673, allocations: 19.83 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.3674, allocations: 0 / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.3674, allocations: 11.98 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.3675, allocations: 4 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3675, allocations: 7.984 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.3677, allocations: 212.1 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3677, allocations: 0 / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3679, allocations: 19.94 kB / 0.5669 GB, free: 13.39 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.002338/0.3703, allocations: 1.139 MB / 0.5681 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.3705, allocations: 59.97 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3705, allocations: 0 / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.956e-05/0.3706, allocations: 35.92 kB / 0.5682 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.371, allocations: 25.83 kB / 0.5682 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.3732, allocations: 1.813 MB / 0.5699 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.3733, allocations: 101.1 kB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.3733, allocations: 8.672 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/0.3734, allocations: 47.41 kB / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3734, allocations: 0 / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.4021, allocations: 3.933 MB / 0.5739 GB, free: 6.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.41, allocations: 18.31 kB / 0.574 GB, free: 6.34 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.380308824125677]