Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001734/0.001734, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.003044/0.003044, allocations: 205.8 kB / 23.73 MB, free: 4.379 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2358/0.2358, allocations: 46.94 MB / 360.9 MB, free: 4.055 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.89 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3514, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003916/0.3553, allocations: 1.594 MB / 0.5622 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3565, allocations: 0.5192 MB / 0.5627 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.3565, allocations: 4 kB / 0.5627 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.3568, allocations: 27.8 kB / 0.5627 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.3572, allocations: 71.67 kB / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.3576, allocations: 91.59 kB / 0.5628 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.3578, allocations: 71.75 kB / 0.5629 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.358, allocations: 13.83 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.3581, allocations: 23.92 kB / 0.563 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.859e-05/0.3582, allocations: 19.86 kB / 0.563 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3582, allocations: 4 kB / 0.563 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.3583, allocations: 31.98 kB / 0.563 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.173e-05/0.3584, allocations: 23.8 kB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.3584, allocations: 15.88 kB / 0.563 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.3587, allocations: 87.64 kB / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.3587, allocations: 0 / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.3587, allocations: 0 / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.3587, allocations: 0 / 0.5631 GB, free: 1.641 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006918/0.3594, allocations: 305.8 kB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.3595, allocations: 16.03 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/0.3595, allocations: 38.73 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.3596, allocations: 8.891 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3598, allocations: 130.4 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3598, allocations: 384 / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.3598, allocations: 4.375 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.36, allocations: 45.62 kB / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.36, allocations: 7.984 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.36, allocations: 0 / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.36, allocations: 0 / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.3601, allocations: 23.98 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.3605, allocations: 244 kB / 0.5639 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.3608, allocations: 46.5 kB / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.3608, allocations: 16.94 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3609, allocations: 0 / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.3609, allocations: 30.56 kB / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.3609, allocations: 0 / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006091/0.3615, allocations: 149.5 kB / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3616, allocations: 55.41 kB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.3617, allocations: 152.4 kB / 0.5643 GB, free: 236 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3618, allocations: 25.7 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.3618, allocations: 100.1 kB / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.3619, allocations: 19.84 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.3619, allocations: 17.72 kB / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.3621, allocations: 322.8 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.3622, allocations: 19.98 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.3622, allocations: 27.98 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.3624, allocations: 48.77 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3624, allocations: 4 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00018/0.3625, allocations: 73.62 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3626, allocations: 10.5 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3626, allocations: 0 / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3626, allocations: 0 / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.3627, allocations: 15.98 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.3627, allocations: 3.984 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.3627, allocations: 11.94 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.3627, allocations: 7.938 kB / 0.565 GB, free: 15.5 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 (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 0.0001031/0.3628, allocations: 121.8 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.3628, allocations: 7.953 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.3631, allocations: 86.06 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3631, allocations: 0 / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3631, allocations: 4 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3631, allocations: 0 / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.3636, allocations: 317.5 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3636, allocations: 0 / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.3637, allocations: 12.31 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3637, allocations: 0 / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.3637, allocations: 4 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.3637, allocations: 7.922 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3637, allocations: 0 / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.3639, allocations: 183.4 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.3639, allocations: 3.953 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.364, allocations: 0 / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.364, allocations: 11.92 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.3641, allocations: 4 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.3641, allocations: 4 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.687e-05/0.3642, allocations: 115.2 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3642, allocations: 0 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.3644, allocations: 19.94 kB / 0.5659 GB, free: 14.53 MB / 414.1 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.002103/0.3665, allocations: 1.045 MB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.3667, allocations: 47.91 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3667, allocations: 0 / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.3668, allocations: 23.98 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.3672, allocations: 23.16 kB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.369, allocations: 1.441 MB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.088e-05/0.3691, allocations: 79.08 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.134e-05/0.3691, allocations: 19.83 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.3692, allocations: 27.42 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3692, allocations: 0 / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.3984, allocations: 3.129 MB / 0.5716 GB, free: 8.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.36, allocations: 0 / 0.5716 GB, free: 8.801 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.535441042971797]