Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.005999/0.006, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.001396/0.001396, allocations: 192.8 kB / 16.79 MB, free: 6.242 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.528/1.528, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.3737/0.3737, allocations: 43.49 MB / 313.5 MB, free: 8.508 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.001319/0.001319, allocations: 66.56 kB / 382.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1108, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002751/0.1136, allocations: 1.764 MB / 441.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1148, allocations: 0.7962 MB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.1149, allocations: 4 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.1151, allocations: 35.89 kB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1153, allocations: 43.83 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.1155, allocations: 83.83 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1157, allocations: 87.77 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.44e-05/0.1158, allocations: 24.08 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.1158, allocations: 39.84 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.1159, allocations: 31.8 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1159, allocations: 4 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.116, allocations: 39.97 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.1161, allocations: 19.92 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.1161, allocations: 31.75 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1163, allocations: 115.8 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1163, allocations: 0 / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1163, allocations: 0 / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1164, allocations: 0 / 443 MB, free: 11.61 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.0005114/0.1169, allocations: 419 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1169, allocations: 8.031 kB / 443.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.117, allocations: 34.73 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.117, allocations: 12.84 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1172, allocations: 208.7 kB / 443.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1172, allocations: 8.359 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1173, allocations: 7.875 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1174, allocations: 53.67 kB / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.1174, allocations: 4 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1174, allocations: 4 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1175, allocations: 0 / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.1175, allocations: 15.98 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.1179, allocations: 292.8 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1181, allocations: 58.62 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.1181, allocations: 20.84 kB / 444.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1181, allocations: 0 / 444.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.1183, allocations: 71.33 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1183, allocations: 0 / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005132/0.1188, allocations: 181.1 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1189, allocations: 55.41 kB / 444.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1191, allocations: 199.3 kB / 444.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1191, allocations: 29.7 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1192, allocations: 104 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1192, allocations: 27.72 kB / 444.8 MB, free: 9.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1192, allocations: 21.72 kB / 444.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1194, allocations: 326.8 kB / 445.1 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.1194, allocations: 19.92 kB / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.1195, allocations: 41.7 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.1196, allocations: 53.72 kB / 445.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1196, allocations: 0 / 445.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000186/0.1198, allocations: 109.4 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1199, allocations: 4 kB / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1199, allocations: 0 / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1199, allocations: 4.031 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.12, allocations: 19.98 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.12, allocations: 0 / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.12, allocations: 7.938 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1201, allocations: 0 / 445.4 MB, free: 8.996 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.0001142/0.1202, allocations: 133.8 kB / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1202, allocations: 15.8 kB / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.1203, allocations: 17.41 kB / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1203, allocations: 0 / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1203, allocations: 4 kB / 445.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1203, allocations: 3.938 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.1207, allocations: 399.5 kB / 446 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1207, allocations: 0 / 446 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.1208, allocations: 8 kB / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.1208, allocations: 3.938 kB / 446 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1208, allocations: 4.188 kB / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1208, allocations: 0 / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1208, allocations: 7.969 kB / 446 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.121, allocations: 204.2 kB / 446.2 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1211, allocations: 96.84 kB / 446.3 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1211, allocations: 3.938 kB / 446.3 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.1212, allocations: 8.375 kB / 446.3 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.1212, allocations: 7.984 kB / 446.3 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1212, allocations: 8 kB / 446.3 MB, free: 7.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1214, allocations: 156.9 kB / 446.5 MB, free: 7.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1214, allocations: 0 / 446.5 MB, free: 7.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1216, allocations: 24 kB / 446.5 MB, free: 7.805 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.001416/0.123, allocations: 1.094 MB / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1232, allocations: 51.98 kB / 447.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1232, allocations: 0 / 447.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.1233, allocations: 35.98 kB / 447.7 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1236, allocations: 27.98 kB / 447.7 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1253, allocations: 1.696 MB / 449.4 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1256, allocations: 0.7043 MB / 450.1 MB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.918e-05/0.1257, allocations: 12.88 kB / 450.1 MB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.1257, allocations: 43.36 kB / 450.1 MB, free: 4.043 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1257, allocations: 0 / 450.1 MB, free: 4.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.1394, allocations: 3.168 MB / 453.3 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.1397, allocations: 234.4 kB / 453.5 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/1.764, allocations: 0 / 453.5 MB, free: 0.5938 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches