Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 176.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007366/0.0007367, allocations: 82.36 kB / 271.2 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.295/0.295, allocations: 43.57 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003981, allocations: 19.98 kB / 432.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.001877/0.1116, allocations: 1.402 MB / 492.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1127, allocations: 0.7383 MB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.1127, allocations: 0 / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.113, allocations: 51.81 kB / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.1132, allocations: 39.83 kB / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.1134, allocations: 75.86 kB / 493.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1135, allocations: 83.69 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.1136, allocations: 16.2 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.1137, allocations: 31.86 kB / 493.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.4e-05/0.1138, allocations: 31.8 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1138, allocations: 8 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.1139, allocations: 39.97 kB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.114, allocations: 15.86 kB / 493.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.114, allocations: 57.5 kB / 493.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1142, allocations: 88.09 kB / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1142, allocations: 0 / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1142, allocations: 0 / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1142, allocations: 0 / 493.6 MB, free: 7.855 MB / 378.7 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.000505/0.1147, allocations: 403 kB / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1148, allocations: 16.02 kB / 494 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1148, allocations: 30.75 kB / 494 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1148, allocations: 8.844 kB / 494 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1151, allocations: 212.7 kB / 494.3 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1151, allocations: 8.375 kB / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1151, allocations: 7.875 kB / 494.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1153, allocations: 53.67 kB / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1153, allocations: 0 / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1153, allocations: 0 / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1154, allocations: 8 kB / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.047e-05/0.1154, allocations: 23.86 kB / 494.4 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1159, allocations: 284.9 kB / 494.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.116, allocations: 54.67 kB / 494.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/0.1161, allocations: 20.86 kB / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1161, allocations: 7.938 kB / 494.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.1163, allocations: 63.39 kB / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.1163, allocations: 3.984 kB / 494.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004877/0.1168, allocations: 173.1 kB / 495 MB, free: 6.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1169, allocations: 55.41 kB / 495 MB, free: 6.258 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.117, allocations: 200.7 kB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.117, allocations: 33.69 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.1171, allocations: 100.1 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.1171, allocations: 27.69 kB / 495.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.1171, allocations: 0 / 495.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1173, allocations: 322.8 kB / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.1173, allocations: 23.98 kB / 495.7 MB, free: 5.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.1174, allocations: 29.72 kB / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1175, allocations: 69.64 kB / 495.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1175, allocations: 0 / 495.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001597/0.1177, allocations: 101.4 kB / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1177, allocations: 4 kB / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1177, allocations: 0 / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.1177, allocations: 4 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.1178, allocations: 12 kB / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1178, allocations: 0 / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.1179, allocations: 19.95 kB / 495.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1179, allocations: 4.375 kB / 495.9 MB, free: 5.281 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/0.118, allocations: 121.6 kB / 496.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.118, allocations: 11.89 kB / 496.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.118, allocations: 17.41 kB / 496.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1181, allocations: 0 / 496.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1181, allocations: 7.938 kB / 496.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1181, allocations: 3.938 kB / 496.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.1185, allocations: 407.3 kB / 496.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1185, allocations: 0 / 496.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.1185, allocations: 15.92 kB / 496.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1185, allocations: 4.125 kB / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1185, allocations: 8 kB / 496.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1186, allocations: 3.938 kB / 496.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1186, allocations: 0 / 496.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.1188, allocations: 196.3 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.1188, allocations: 96.91 kB / 496.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1189, allocations: 3.938 kB / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.1189, allocations: 4 kB / 496.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.119, allocations: 11.98 kB / 496.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.119, allocations: 7.938 kB / 496.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1191, allocations: 148.9 kB / 497 MB, free: 4.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1191, allocations: 4 kB / 497 MB, free: 4.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.1193, allocations: 24 kB / 497 MB, free: 4.105 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.1206, allocations: 1.095 MB / 498.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.1208, allocations: 55.92 kB / 498.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1208, allocations: 0 / 498.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-05/0.1209, allocations: 31.92 kB / 498.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1212, allocations: 27.38 kB / 498.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1222, allocations: 0.7636 MB / 499 MB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.1225, allocations: 0.7004 MB / 499.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.1225, allocations: 35.42 kB / 499.7 MB, free: 1.332 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1225, allocations: 4 kB / 499.7 MB, free: 1.328 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.891/3.013, allocations: 2.273 MB / 0.4902 GB, free: 42.23 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches