Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001346/0.001346, 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.001489/0.001489, allocations: 211.3 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.439/1.439, allocations: 230.6 MB / 257.5 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.2368/0.2368, allocations: 46.96 MB / 360.9 MB, free: 4.012 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.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 71.89 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3474, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003096/0.3505, allocations: 1.592 MB / 0.5622 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3525, allocations: 1.228 MB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.3526, allocations: 0 / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.3529, allocations: 27.72 kB / 0.5634 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.3532, allocations: 87.61 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.3535, allocations: 87.77 kB / 0.5636 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3536, allocations: 67.83 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3538, allocations: 17.81 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.3538, allocations: 27.8 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3539, allocations: 35.59 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.354, allocations: 4 kB / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.3541, allocations: 87.94 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.3542, allocations: 11.94 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.3542, allocations: 23.86 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.3545, allocations: 139.5 kB / 0.564 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3545, allocations: 0 / 0.564 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3545, allocations: 0 / 0.564 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3545, allocations: 8 kB / 0.564 GB, free: 0.7734 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.0005564/0.3551, allocations: 325.7 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3551, allocations: 8.031 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.3552, allocations: 38.75 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.3552, allocations: 4.891 kB / 0.5643 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.3554, allocations: 142.3 kB / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3554, allocations: 384 / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3554, allocations: 4.375 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.3556, allocations: 89.05 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3556, allocations: 0 / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3556, allocations: 4 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3557, allocations: 0 / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.3557, allocations: 27.97 kB / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.3562, allocations: 239.9 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.3564, allocations: 46.56 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.3565, allocations: 12.94 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3565, allocations: 0 / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3565, allocations: 34.56 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3565, allocations: 0 / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000573/0.3571, allocations: 149.4 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.3572, allocations: 77.11 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3573, allocations: 152.4 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3573, allocations: 25.7 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.3574, allocations: 96.08 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.3574, allocations: 19.84 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.3575, allocations: 17.72 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3576, allocations: 330.7 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.786e-05/0.3577, allocations: 19.98 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.053e-05/0.3578, allocations: 59.47 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3579, allocations: 44.83 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3579, allocations: 0 / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001884/0.3581, allocations: 81.62 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3581, allocations: 4 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3581, allocations: 8.031 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3581, allocations: 3.938 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.3582, allocations: 15.92 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3582, allocations: 3.984 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.3582, allocations: 7.938 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3583, allocations: 4 kB / 0.566 GB, free: 14.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 9.762e-05/0.3584, allocations: 117.8 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.3584, allocations: 3.953 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.3586, allocations: 94.06 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3586, allocations: 0 / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3586, allocations: 4 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3586, allocations: 4.219 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.3591, allocations: 309.6 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3591, allocations: 0 / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.3591, allocations: 12.3 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3591, allocations: 0 / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.3592, allocations: 19.92 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3592, allocations: 4 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3592, allocations: 0 / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.3594, allocations: 175.4 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.3594, allocations: 11.94 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.3594, allocations: 3.938 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.3595, allocations: 4 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.3595, allocations: 3.984 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3596, allocations: 4 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.3597, allocations: 111.3 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3597, allocations: 4 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.36, allocations: 39.86 kB / 0.5669 GB, free: 13.5 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.002337/0.3623, allocations: 1.137 MB / 0.568 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.3625, allocations: 51.89 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3625, allocations: 0 / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.5e-05/0.3626, allocations: 23.98 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.363, allocations: 19.98 kB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3649, allocations: 1.427 MB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.156e-05/0.365, allocations: 79.02 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.158e-05/0.365, allocations: 23.77 kB / 0.5695 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.3651, allocations: 27.42 kB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3651, allocations: 0 / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.3976, allocations: 3.827 MB / 0.5733 GB, free: 7.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.36, allocations: 6.75 kB / 0.5733 GB, free: 7.016 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.376658219378442]