Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001065/0.001065, allocations: 108.1 kB / 17.21 MB, free: 6.293 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.001784/0.001785, allocations: 194 kB / 18.12 MB, free: 5.383 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.447/1.447, allocations: 222.9 MB / 241.8 MB, free: 13.79 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.2083/0.2083, allocations: 44.17 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.05 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1097, allocations: 60.84 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003298/0.113, allocations: 1.78 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1144, allocations: 0.8575 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.1145, allocations: 7.938 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.1148, allocations: 47.88 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.1151, allocations: 43.83 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.1154, allocations: 95.77 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1156, allocations: 115.7 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1157, allocations: 15.98 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1158, allocations: 51.78 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.799e-05/0.1159, allocations: 47.77 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.116, allocations: 4 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1161, allocations: 63.91 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.1162, allocations: 23.91 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.1162, allocations: 35.75 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1165, allocations: 143.8 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1165, allocations: 0 / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1165, allocations: 0 / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1165, allocations: 0 / 472 MB, free: 11.4 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005632/0.1171, allocations: 427 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1171, allocations: 16.02 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1172, allocations: 30.75 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1172, allocations: 12.84 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1175, allocations: 228.6 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.1175, allocations: 384 / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1175, allocations: 7.938 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1177, allocations: 69.66 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1177, allocations: 3.938 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1178, allocations: 0 / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1178, allocations: 11.94 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1179, allocations: 43.97 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1183, allocations: 320.7 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1186, allocations: 86.58 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.1187, allocations: 28.84 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1187, allocations: 8 kB / 473.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.1189, allocations: 83.31 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.535e-06/0.1189, allocations: 3.984 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008698/0.1198, allocations: 289 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1199, allocations: 59.33 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.12, allocations: 183.3 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1201, allocations: 33.7 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.1201, allocations: 108.3 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.1202, allocations: 43.53 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1202, allocations: 33.7 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1203, allocations: 326.8 kB / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.1204, allocations: 35.98 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.846e-05/0.1205, allocations: 57.69 kB / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1207, allocations: 103.9 kB / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1207, allocations: 0 / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002541/0.121, allocations: 149.5 kB / 474.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.121, allocations: 4 kB / 474.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.121, allocations: 0 / 474.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.121, allocations: 4 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.1211, allocations: 36.77 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1211, allocations: 0 / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.1212, allocations: 8.031 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1212, allocations: 4 kB / 474.8 MB, free: 8.344 MB / 350.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 (15): * Single equations (assignments): 15 * 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.0001043/0.1213, allocations: 136.6 kB / 474.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.1213, allocations: 15.81 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.1214, allocations: 21.45 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1214, allocations: 7.938 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1214, allocations: 0 / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1214, allocations: 3.938 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.122, allocations: 484 kB / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.122, allocations: 0 / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.1221, allocations: 23.92 kB / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1221, allocations: 0 / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1221, allocations: 8 kB / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1221, allocations: 0 / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1221, allocations: 0 / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.1224, allocations: 253.1 kB / 475.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.1225, allocations: 92.91 kB / 475.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1225, allocations: 7.938 kB / 475.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.1226, allocations: 8 kB / 475.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1226, allocations: 15.92 kB / 475.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1226, allocations: 4 kB / 475.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1228, allocations: 139.9 kB / 476 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1228, allocations: 0 / 476 MB, free: 7.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.123, allocations: 32 kB / 476 MB, free: 7.008 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001676/0.1247, allocations: 1.218 MB / 477.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.125, allocations: 95.91 kB / 477.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.125, allocations: 0 / 477.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1251, allocations: 51.91 kB / 477.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1255, allocations: 28.39 kB / 477.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1275, allocations: 1.853 MB / 479.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1277, allocations: 0.7165 MB / 479.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.915e-05/0.1279, allocations: 29.41 kB / 480 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.1279, allocations: 43.42 kB / 480 MB, free: 3.043 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.128, allocations: 0 / 480 MB, free: 3.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.1424, allocations: 3.695 MB / 483.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.1426, allocations: 246 kB / 484 MB, free: 15.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/1.869, allocations: 0 / 484 MB, free: 15.2 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches