Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.002082/0.002082, 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.002222/0.002222, allocations: 213.6 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.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2295/0.2295, allocations: 46.92 MB / 360.8 MB, free: 4.184 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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 75.88 kB / 0.4962 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3455, allocations: 66.09 MB / 0.5608 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003154/0.3487, allocations: 1.629 MB / 0.5624 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3497, allocations: 0.5537 MB / 0.5629 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.3498, allocations: 0 / 0.5629 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.3501, allocations: 79.7 kB / 0.563 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.3505, allocations: 103.6 kB / 0.5631 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.3508, allocations: 94.95 kB / 0.5632 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.351, allocations: 83.75 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3511, allocations: 21.81 kB / 0.5633 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.3511, allocations: 35.91 kB / 0.5633 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.3513, allocations: 59.8 kB / 0.5633 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3513, allocations: 7.938 kB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3514, allocations: 51.92 kB / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.3515, allocations: 19.92 kB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.3515, allocations: 27.75 kB / 0.5635 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3517, allocations: 107.5 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3517, allocations: 4 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3517, allocations: 0 / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3517, allocations: 4 kB / 0.5636 GB, free: 1.43 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.0005568/0.3523, allocations: 341.6 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3524, allocations: 8.031 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.3525, allocations: 42.69 kB / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.3525, allocations: 12.84 kB / 0.5639 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.3527, allocations: 147 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.3528, allocations: 384 / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.3528, allocations: 4.375 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.353, allocations: 58.23 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.353, allocations: 3.938 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.353, allocations: 0 / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.353, allocations: 4 kB / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3531, allocations: 23.92 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.3536, allocations: 267.9 kB / 0.5644 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.3537, allocations: 42.56 kB / 0.5645 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.3538, allocations: 20.94 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3538, allocations: 0 / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3538, allocations: 38.5 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3538, allocations: 0 / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009086/0.3547, allocations: 225.2 kB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3548, allocations: 59.39 kB / 0.5648 GB, free: 0 / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.355, allocations: 210.3 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.355, allocations: 25.7 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.3551, allocations: 112 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.3552, allocations: 27.75 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.3552, allocations: 33.78 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3554, allocations: 322.8 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/0.3555, allocations: 31.97 kB / 0.5655 GB, free: 15.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.3556, allocations: 23.98 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3557, allocations: 56.83 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.3557, allocations: 0 / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002092/0.3559, allocations: 109.5 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3559, allocations: 7.938 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3559, allocations: 0 / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.356, allocations: 4 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.3561, allocations: 15.98 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3561, allocations: 0 / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.3561, allocations: 4 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3561, allocations: 7.938 kB / 0.5658 GB, free: 14.98 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.0001141/0.3562, allocations: 131.1 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.3563, allocations: 15.91 kB / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.3565, allocations: 119.3 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3565, allocations: 0 / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3565, allocations: 0 / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3566, allocations: 432 / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.3571, allocations: 386.3 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3571, allocations: 0 / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.3572, allocations: 19.98 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3572, allocations: 0 / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3572, allocations: 3.938 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3572, allocations: 4 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3572, allocations: 7.922 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3575, allocations: 208.3 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.3575, allocations: 11.91 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.3576, allocations: 7.938 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.3576, allocations: 7.984 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.3577, allocations: 7.984 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3577, allocations: 4 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.3578, allocations: 164.2 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3578, allocations: 4 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.3581, allocations: 23.94 kB / 0.5668 GB, free: 13.79 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.002199/0.3603, allocations: 1.075 MB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.3605, allocations: 67.89 kB / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3605, allocations: 0 / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.3606, allocations: 31.98 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.361, allocations: 20.23 kB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.363, allocations: 1.681 MB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3633, allocations: 0.7158 MB / 0.5703 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.792e-05/0.3634, allocations: 8.672 kB / 0.5703 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.3634, allocations: 35.42 kB / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3634, allocations: 0 / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.3931, allocations: 3.264 MB / 0.5736 GB, free: 6.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.66, allocations: 17.59 kB / 0.5736 GB, free: 6.938 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.729206338059157]