Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001757/0.001757, allocations: 213.9 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.9 MB / 360.8 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 79.86 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3409, allocations: 66.09 MB / 0.5608 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003023/0.3439, allocations: 1.628 MB / 0.5623 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.345, allocations: 0.5537 MB / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.345, allocations: 0 / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.3453, allocations: 79.7 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.3456, allocations: 107.6 kB / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.3458, allocations: 91.14 kB / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.346, allocations: 87.75 kB / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.3461, allocations: 13.83 kB / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.3462, allocations: 39.89 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3463, allocations: 67.73 kB / 0.5634 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3463, allocations: 3.938 kB / 0.5634 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.375e-05/0.3464, allocations: 47.98 kB / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.3465, allocations: 19.92 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.3465, allocations: 31.73 kB / 0.5635 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3467, allocations: 107.5 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3467, allocations: 0 / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3467, allocations: 7.984 kB / 0.5636 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3467, allocations: 0 / 0.5636 GB, free: 1.395 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.0004786/0.3472, allocations: 341.5 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3472, allocations: 8.031 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.3472, allocations: 38.75 kB / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.3473, allocations: 12.84 kB / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.3475, allocations: 143 kB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3475, allocations: 4.359 kB / 0.5641 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.3475, allocations: 4.375 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3476, allocations: 62.22 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3476, allocations: 7.875 kB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3476, allocations: 0 / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3477, allocations: 4 kB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3478, allocations: 23.92 kB / 0.5642 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.3481, allocations: 263.9 kB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.3483, allocations: 42.56 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.3483, allocations: 20.94 kB / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3483, allocations: 3.938 kB / 0.5645 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3483, allocations: 30.56 kB / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3483, allocations: 0 / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000839/0.3492, allocations: 229.2 kB / 0.5647 GB, free: 36 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.3493, allocations: 55.41 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.3495, allocations: 214.3 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3495, allocations: 25.7 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.3496, allocations: 108.2 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.3496, allocations: 31.73 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.3496, allocations: 33.7 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3498, allocations: 326.8 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.3499, allocations: 23.98 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.35, allocations: 23.98 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3501, allocations: 60.77 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3501, allocations: 0 / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002152/0.3503, allocations: 105.6 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3503, allocations: 7.938 kB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3503, allocations: 0 / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3504, allocations: 4 kB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.3505, allocations: 15.98 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3505, allocations: 0 / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.3505, allocations: 4 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3505, allocations: 7.938 kB / 0.5657 GB, free: 14.95 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.0001146/0.3506, allocations: 133.8 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.3507, allocations: 15.91 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.3509, allocations: 119 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.351, allocations: 0 / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.351, allocations: 0 / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.351, allocations: 432 / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.3515, allocations: 386.7 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3515, allocations: 0 / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.327e-05/0.3516, allocations: 19.98 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3516, allocations: 3.938 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3516, allocations: 7.938 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3516, allocations: 0 / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3516, allocations: 3.938 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.3519, allocations: 212.4 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.3519, allocations: 11.91 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.3519, allocations: 3.938 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.352, allocations: 7.984 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.352, allocations: 4 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.3521, allocations: 7.984 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.3522, allocations: 168.2 kB / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3522, allocations: 0 / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.3525, allocations: 27.88 kB / 0.5668 GB, free: 13.75 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.002276/0.3547, allocations: 1.077 MB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.355, allocations: 63.89 kB / 0.5679 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.355, allocations: 0 / 0.5679 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.966e-05/0.3551, allocations: 39.91 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.3555, allocations: 19.11 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3576, allocations: 1.669 MB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.358, allocations: 0.708 MB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.136e-05/0.3581, allocations: 16.95 kB / 0.5703 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.3582, allocations: 35.42 kB / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3582, allocations: 0 / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.3887, allocations: 3.27 MB / 0.5736 GB, free: 6.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.67, allocations: 12.69 kB / 0.5736 GB, free: 6.898 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.632401518058032]