Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.0009733/0.0009733, allocations: 104.5 kB / 16.27 MB, free: 6.012 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.0009064/0.0009065, allocations: 188.6 kB / 17.2 MB, free: 5.633 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.359/1.359, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2073/0.2073, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001797/0.001797, allocations: 66.97 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1025, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002756/0.1053, allocations: 1.656 MB / 442.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1064, allocations: 0.7789 MB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.1065, allocations: 8 kB / 443.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.1068, allocations: 59.73 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1071, allocations: 67.73 kB / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.1073, allocations: 79.77 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.1074, allocations: 91.7 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.1075, allocations: 8.266 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.1075, allocations: 47.78 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.1076, allocations: 43.84 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1077, allocations: 4 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.207e-05/0.1077, allocations: 35.91 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.1078, allocations: 15.92 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.1078, allocations: 27.81 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.108, allocations: 103.6 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.108, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.108, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.108, allocations: 3.984 kB / 443.6 MB, free: 3.754 MB / 318.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.0004025/0.1084, allocations: 403 kB / 444 MB, free: 3.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1085, allocations: 15.89 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.1085, allocations: 34.75 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1085, allocations: 12.84 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.1087, allocations: 204.9 kB / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1087, allocations: 4.375 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1087, allocations: 3.938 kB / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1089, allocations: 45.67 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1089, allocations: 0 / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1089, allocations: 4 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1089, allocations: 4 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.888e-05/0.109, allocations: 15.98 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.1091, allocations: 181.7 kB / 444.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1093, allocations: 70.36 kB / 444.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.1093, allocations: 20.84 kB / 444.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1093, allocations: 0 / 444.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.1095, allocations: 71.39 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1095, allocations: 0 / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002333/0.1097, allocations: 97.42 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.1098, allocations: 51.41 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1099, allocations: 194.1 kB / 445.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.1099, allocations: 25.7 kB / 445.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.1099, allocations: 104.1 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.11, allocations: 11.91 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.11, allocations: 17.72 kB / 445.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.1101, allocations: 322.8 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.1101, allocations: 15.98 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/0.1102, allocations: 29.7 kB / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.1103, allocations: 41.66 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1103, allocations: 7.938 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000127/0.1104, allocations: 85.48 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1104, allocations: 4 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1104, allocations: 0 / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1104, allocations: 4 kB / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.1105, allocations: 11.94 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1105, allocations: 0 / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.1106, allocations: 11.92 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1106, allocations: 4.031 kB / 445.7 MB, free: 1.422 MB / 318.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 6.329e-05/0.1107, allocations: 129.2 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.1107, allocations: 11.91 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.1107, allocations: 16.3 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1107, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1107, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1107, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.67e-05/0.1108, allocations: 185.6 kB / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1108, allocations: 320 / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.1109, allocations: 8 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1109, allocations: 4 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1109, allocations: 3.984 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1109, allocations: 3.938 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1109, allocations: 0 / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.111, allocations: 116.8 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.1111, allocations: 85.02 kB / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1111, allocations: 0 / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.1111, allocations: 8 kB / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1112, allocations: 11.92 kB / 446.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1112, allocations: 4 kB / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.1113, allocations: 135.2 kB / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1113, allocations: 0 / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.1115, allocations: 15.98 kB / 446.5 MB, free: 0.6055 MB / 318.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.001143/0.1127, allocations: 0.9548 MB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.1128, allocations: 35.98 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1128, allocations: 0 / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.977e-05/0.1129, allocations: 27.86 kB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.1132, allocations: 26.02 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1146, allocations: 1.473 MB / 449 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1148, allocations: 0.7002 MB / 449.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.274e-05/0.1149, allocations: 28.38 kB / 449.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.115, allocations: 27.42 kB / 449.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.115, allocations: 0 / 449.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.1449, allocations: 2.983 MB / 452.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/8.67, allocations: 11.73 kB / 452.7 MB, free: 10.26 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches