Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",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.001111/0.001111, allocations: 103 kB / 16.02 MB, free: 76 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.001327/0.001327, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.544/1.544, allocations: 205.4 MB / 223.1 MB, free: 5.543 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.35/0.35, allocations: 43.58 MB / 315 MB, free: 9.047 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.0005489/0.000549, allocations: 15.98 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1159, allocations: 58.87 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001912/0.1179, allocations: 1.371 MB / 444.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1192, allocations: 0.7575 MB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.1193, allocations: 3.938 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1196, allocations: 59.86 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1198, allocations: 55.8 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.12, allocations: 67.86 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1202, allocations: 95.69 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.1202, allocations: 7.984 kB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.837e-05/0.1203, allocations: 43.78 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.797e-05/0.1204, allocations: 43.83 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1205, allocations: 3.938 kB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.1206, allocations: 35.98 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.1206, allocations: 15.92 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.1207, allocations: 53.5 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1208, allocations: 99.92 kB / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1209, allocations: 0 / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1209, allocations: 0 / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1209, allocations: 3.938 kB / 446.3 MB, free: 10.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005114/0.1214, allocations: 387.1 kB / 446.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1214, allocations: 8.031 kB / 446.7 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.1215, allocations: 46.67 kB / 446.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.1216, allocations: 8.844 kB / 446.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.1218, allocations: 208 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1219, allocations: 384 / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1219, allocations: 7.938 kB / 446.9 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.1221, allocations: 49.67 kB / 447 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1221, allocations: 3.938 kB / 447 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1221, allocations: 0 / 447 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1221, allocations: 0 / 447 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.1222, allocations: 27.97 kB / 447 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.1225, allocations: 185.6 kB / 447.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1226, allocations: 54.55 kB / 447.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.1227, allocations: 16.86 kB / 447.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1227, allocations: 0 / 447.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.1229, allocations: 67.39 kB / 447.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1229, allocations: 0 / 447.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002811/0.1232, allocations: 101.5 kB / 447.4 MB, free: 8.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1233, allocations: 51.41 kB / 447.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1235, allocations: 178.2 kB / 447.6 MB, free: 8.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1235, allocations: 33.7 kB / 447.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1236, allocations: 100.1 kB / 447.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1237, allocations: 3.906 kB / 447.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1237, allocations: 25.7 kB / 447.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1238, allocations: 322.8 kB / 448.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.1239, allocations: 8 kB / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.1239, allocations: 29.7 kB / 448.1 MB, free: 7.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.124, allocations: 45.64 kB / 448.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1241, allocations: 3.938 kB / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001506/0.1242, allocations: 85.53 kB / 448.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1242, allocations: 4 kB / 448.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1242, allocations: 0 / 448.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1243, allocations: 4 kB / 448.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.1243, allocations: 12 kB / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1244, allocations: 0 / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.1244, allocations: 11.89 kB / 448.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1244, allocations: 0 / 448.3 MB, free: 7.773 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 (7): * Single equations (assignments): 7 * 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.0001243/0.1246, allocations: 129.8 kB / 448.4 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.1246, allocations: 11.91 kB / 448.4 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.1246, allocations: 16.3 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1246, allocations: 3.938 kB / 448.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1246, allocations: 0 / 448.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1246, allocations: 0 / 448.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.125, allocations: 193.5 kB / 448.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.125, allocations: 320 / 448.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.125, allocations: 7.984 kB / 448.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.125, allocations: 0 / 448.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.125, allocations: 11.94 kB / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.125, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.125, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.1252, allocations: 109 kB / 448.8 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1253, allocations: 88.92 kB / 448.9 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1254, allocations: 0 / 448.9 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.1254, allocations: 7.984 kB / 448.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1254, allocations: 8 kB / 448.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1255, allocations: 4 kB / 448.9 MB, free: 7.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1256, allocations: 144 kB / 449 MB, free: 6.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1256, allocations: 0 / 449 MB, free: 6.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.1258, allocations: 16 kB / 449 MB, free: 6.945 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001393/0.1272, allocations: 0.9579 MB / 450 MB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1274, allocations: 35.98 kB / 450 MB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1274, allocations: 3.938 kB / 450 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.694e-05/0.1275, allocations: 23.92 kB / 450.1 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.1277, allocations: 27.97 kB / 450.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.1301, allocations: 1.48 MB / 451.6 MB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.1306, allocations: 0.6926 MB / 452.3 MB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.318e-05/0.1307, allocations: 20.39 kB / 452.3 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.1308, allocations: 39.42 kB / 452.3 MB, free: 3.555 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1308, allocations: 0 / 452.3 MB, free: 3.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.1461, allocations: 2.648 MB / 455 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.1464, allocations: 233.8 kB / 455.2 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/1.985, allocations: 0 / 455.2 MB, free: 0.6523 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches