Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001913/0.001913, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002355/0.002355, allocations: 217.3 kB / 24.52 MB, free: 3.91 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2484/0.2484, allocations: 46.95 MB / 361.7 MB, free: 4.039 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.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 63.91 kB / 0.4969 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3415, allocations: 66.03 MB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003485/0.345, allocations: 1.609 MB / 0.5629 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.3472, allocations: 1.24 MB / 0.5641 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.3473, allocations: 4 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.3475, allocations: 35.77 kB / 0.5642 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.3479, allocations: 83.62 kB / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.3483, allocations: 119 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3485, allocations: 75.77 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3486, allocations: 21.81 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.3486, allocations: 39.78 kB / 0.5645 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3488, allocations: 35.84 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.3488, allocations: 4 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.349, allocations: 87.95 kB / 0.5646 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.349, allocations: 23.86 kB / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.3491, allocations: 27.84 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.3494, allocations: 151.5 kB / 0.5648 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3494, allocations: 0 / 0.5648 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3494, allocations: 0 / 0.5648 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.3494, allocations: 0 / 0.5648 GB, free: 0.6797 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005509/0.35, allocations: 349.6 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.35, allocations: 15.91 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.717e-05/0.35, allocations: 192 / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.3501, allocations: 34.75 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.3501, allocations: 8.891 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3504, allocations: 138.4 kB / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3504, allocations: 384 / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3504, allocations: 8.125 kB / 0.5654 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.3506, allocations: 109 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3507, allocations: 3.953 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3507, allocations: 8 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3507, allocations: 4 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.3508, allocations: 35.91 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.3513, allocations: 271.8 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.3514, allocations: 50.56 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.3515, allocations: 20.97 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3515, allocations: 0 / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3515, allocations: 38.56 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3515, allocations: 4 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007263/0.3523, allocations: 197.7 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3523, allocations: 81.05 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3525, allocations: 160.2 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3525, allocations: 25.7 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.3526, allocations: 96.12 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.3526, allocations: 31.69 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.3527, allocations: 25.7 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3528, allocations: 322.8 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.3529, allocations: 32.03 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3531, allocations: 75.39 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.3532, allocations: 64.83 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3532, allocations: 0 / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002391/0.3535, allocations: 105.6 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3535, allocations: 12.03 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3535, allocations: 0 / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3535, allocations: 3.984 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3536, allocations: 27.81 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3536, allocations: 4 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.3537, allocations: 7.984 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3537, allocations: 0 / 0.5671 GB, free: 14.13 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 9.802e-05/0.3538, allocations: 117.8 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.3538, allocations: 11.91 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.3542, allocations: 134.6 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3542, allocations: 7.922 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3542, allocations: 0 / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3542, allocations: 0 / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.3547, allocations: 361.6 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3547, allocations: 3.938 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.3548, allocations: 27.92 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3548, allocations: 0 / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.3548, allocations: 4 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3548, allocations: 0 / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3548, allocations: 0 / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.3551, allocations: 207.5 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.3552, allocations: 7.891 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.3552, allocations: 3.938 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.3553, allocations: 7.984 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.3553, allocations: 8 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3553, allocations: 7.984 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.3554, allocations: 117.6 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3554, allocations: 0 / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.3557, allocations: 43.86 kB / 0.5681 GB, free: 13 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 (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.002392/0.3581, allocations: 1.171 MB / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.3584, allocations: 83.8 kB / 0.5693 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3584, allocations: 0 / 0.5693 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/0.3585, allocations: 35.98 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3588, allocations: 28.56 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.3608, allocations: 1.538 MB / 0.5709 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.693e-05/0.3609, allocations: 92.12 kB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.989e-05/0.3609, allocations: 24.72 kB / 0.571 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.361, allocations: 31.42 kB / 0.571 GB, free: 10.1 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.361, allocations: 4 kB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.3869, allocations: 3.737 MB / 0.5747 GB, free: 6.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.99, allocations: 9.109 kB / 0.5747 GB, free: 6.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 15.305323309963569]