Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 110.5 kB / 17.32 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2537/0.2537, allocations: 44.18 MB / 336.3 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 69.16 kB / 408 MB, free: 27.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1355, allocations: 60.83 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003514/0.139, allocations: 1.617 MB / 470.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007458/0.1398, allocations: 407.3 kB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.1399, allocations: 0 / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.1401, allocations: 23.91 kB / 470.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1403, allocations: 39.84 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1406, allocations: 99.81 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1408, allocations: 55.84 kB / 471.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.1409, allocations: 8 kB / 471.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.1409, allocations: 27.84 kB / 471.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.141, allocations: 23.86 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.141, allocations: 0 / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.1411, allocations: 28 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.1411, allocations: 23.91 kB / 471.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.1412, allocations: 23.81 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1413, allocations: 72.08 kB / 471.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1413, allocations: 0 / 471.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1413, allocations: 4 kB / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1413, allocations: 0 / 471.3 MB, free: 12.2 MB / 350.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.0004395/0.1418, allocations: 383.1 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1418, allocations: 8.031 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.1419, allocations: 38.73 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.1419, allocations: 16.84 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1421, allocations: 184.2 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.1421, allocations: 4.375 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1421, allocations: 4.375 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1423, allocations: 49.61 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.1423, allocations: 0 / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.1423, allocations: 3.938 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1423, allocations: 4 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.1424, allocations: 23.92 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.1428, allocations: 292.8 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.143, allocations: 42.56 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.143, allocations: 16.89 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1431, allocations: 7.984 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.1431, allocations: 38.5 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1431, allocations: 0 / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005195/0.1436, allocations: 137.6 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1437, allocations: 59.34 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1438, allocations: 161.8 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1439, allocations: 25.7 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.1439, allocations: 100.1 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1439, allocations: 23.66 kB / 472.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.144, allocations: 21.7 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1441, allocations: 318.8 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.1442, allocations: 23.97 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.1442, allocations: 23.98 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1444, allocations: 48.83 kB / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1444, allocations: 192 / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002265/0.1446, allocations: 93.52 kB / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1447, allocations: 6.5 kB / 473.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1447, allocations: 3.984 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1447, allocations: 0 / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.1448, allocations: 11.98 kB / 473.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1448, allocations: 7.984 kB / 473.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.1448, allocations: 7.984 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1448, allocations: 11.94 kB / 473.4 MB, free: 9.812 MB / 350.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 8.688e-05/0.1449, allocations: 117.8 kB / 473.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.145, allocations: 3.906 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.1452, allocations: 101.9 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1452, allocations: 0 / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1452, allocations: 4 kB / 473.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1452, allocations: 4 kB / 473.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1456, allocations: 354.4 kB / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1456, allocations: 0 / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.1457, allocations: 11.98 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1457, allocations: 4 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1457, allocations: 0 / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1457, allocations: 3.938 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1457, allocations: 0 / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.146, allocations: 191.6 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.146, allocations: 81.02 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.1461, allocations: 8 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-05/0.1461, allocations: 3.938 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1462, allocations: 7.984 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1462, allocations: 3.938 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.323e-05/0.1463, allocations: 133.7 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1463, allocations: 0 / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1465, allocations: 20 kB / 474.5 MB, free: 8.676 MB / 350.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.00131/0.1478, allocations: 1.007 MB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.148, allocations: 51.95 kB / 475.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1481, allocations: 3.938 kB / 475.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.1481, allocations: 35.92 kB / 475.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1485, allocations: 15.92 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1502, allocations: 1.5 MB / 477.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1505, allocations: 0.6963 MB / 477.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.1505, allocations: 16.06 kB / 477.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.1506, allocations: 23.42 kB / 477.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1506, allocations: 0 / 477.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03795/0.1886, allocations: 2.422 MB / 480.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.1888, allocations: 233.9 kB / 480.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.16, allocations: 0 / 480.4 MB, free: 2.77 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches