Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",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.0008614/0.0008614, allocations: 96.78 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 176.3 kB / 16.92 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3899/0.3899, allocations: 43.57 MB / 315 MB, free: 9.086 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.0005116, allocations: 16 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1343, allocations: 58.87 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002118/0.1364, allocations: 1.41 MB / 445 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1377, allocations: 0.773 MB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.1378, allocations: 4 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1381, allocations: 35.83 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.1382, allocations: 43.83 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1385, allocations: 75.84 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1387, allocations: 87.7 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1388, allocations: 20.2 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.1389, allocations: 43.78 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.275e-05/0.139, allocations: 19.86 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.139, allocations: 4 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1391, allocations: 43.97 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.1392, allocations: 19.86 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.829e-05/0.1393, allocations: 61.45 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1395, allocations: 107.9 kB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1395, allocations: 7.938 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1395, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1396, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006953/0.1403, allocations: 395.1 kB / 446.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.1403, allocations: 12.03 kB / 446.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.1404, allocations: 34.73 kB / 446.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1404, allocations: 8.844 kB / 446.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1407, allocations: 212 kB / 446.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1408, allocations: 4.375 kB / 447 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1408, allocations: 11.94 kB / 447 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.141, allocations: 57.67 kB / 447 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.141, allocations: 3.984 kB / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.141, allocations: 3.938 kB / 447 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1411, allocations: 0 / 447 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.1411, allocations: 19.98 kB / 447 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.1416, allocations: 288.7 kB / 447.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1418, allocations: 58.69 kB / 447.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.1419, allocations: 20.84 kB / 447.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.1419, allocations: 4 kB / 447.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.1422, allocations: 63.39 kB / 447.5 MB, free: 8.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 4.088e-06/0.1422, allocations: 7.922 kB / 447.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006326/0.1428, allocations: 169.3 kB / 447.6 MB, free: 8.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.1429, allocations: 51.41 kB / 447.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1431, allocations: 198 kB / 447.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1432, allocations: 25.7 kB / 447.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.1433, allocations: 100.1 kB / 448 MB, free: 8.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.1433, allocations: 23.69 kB / 448 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.1433, allocations: 17.72 kB / 448.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1435, allocations: 326.8 kB / 448.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.1436, allocations: 19.98 kB / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.1437, allocations: 37.7 kB / 448.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1438, allocations: 53.72 kB / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1438, allocations: 0 / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.144, allocations: 101.5 kB / 448.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.144, allocations: 8.031 kB / 448.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.144, allocations: 0 / 448.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1441, allocations: 192 / 448.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1442, allocations: 23.92 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1442, allocations: 3.938 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.1443, allocations: 11.94 kB / 448.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1443, allocations: 0 / 448.6 MB, free: 7.445 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001191/0.1444, allocations: 125.8 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.1444, allocations: 11.81 kB / 448.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.1445, allocations: 16.72 kB / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1445, allocations: 0 / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.1445, allocations: 4 kB / 448.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1445, allocations: 3.938 kB / 448.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.145, allocations: 395.5 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.145, allocations: 4.312 kB / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1451, allocations: 8 kB / 449.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.1451, allocations: 7.938 kB / 449.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1451, allocations: 12.03 kB / 449.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1451, allocations: 0 / 449.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1451, allocations: 0 / 449.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1454, allocations: 200.2 kB / 449.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.1454, allocations: 96.91 kB / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.1455, allocations: 7.938 kB / 449.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.1456, allocations: 4 kB / 449.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1456, allocations: 7.984 kB / 449.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1456, allocations: 8 kB / 449.5 MB, free: 6.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1458, allocations: 144 kB / 449.7 MB, free: 6.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1458, allocations: 0 / 449.7 MB, free: 6.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.146, allocations: 24 kB / 449.7 MB, free: 6.285 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001564/0.1476, allocations: 1.107 MB / 450.8 MB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1478, allocations: 63.92 kB / 450.9 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1478, allocations: 0 / 450.9 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.1479, allocations: 23.98 kB / 450.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1482, allocations: 27.98 kB / 450.9 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1501, allocations: 1.65 MB / 452.6 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.1505, allocations: 0.7004 MB / 453.3 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.587e-05/0.1506, allocations: 24.86 kB / 453.3 MB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.1507, allocations: 35.42 kB / 453.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of SimCode: time 5.38e-06/0.1507, allocations: 0 / 453.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2508/0.4015, allocations: 2.916 MB / 456.2 MB, free: 45.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/0.4017, allocations: 238 kB / 456.5 MB, free: 45.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.254, allocations: 4.234 kB / 456.5 MB, free: 45.5 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches