Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",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.0008478/0.0008478, allocations: 173.5 kB / 16.72 MB, free: 5.078 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.255/1.255, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007649/0.0007649, allocations: 90.36 kB / 271.2 MB, free: 8.242 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.2937/0.2937, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 12 kB / 432.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1014, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001759/0.1033, allocations: 1.358 MB / 492.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1044, allocations: 0.7317 MB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.1045, allocations: 7.938 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.1048, allocations: 51.86 kB / 493.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.105, allocations: 51.81 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.1052, allocations: 71.84 kB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1054, allocations: 83.69 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.99e-05/0.1055, allocations: 11.98 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.1056, allocations: 35.84 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.382e-05/0.1057, allocations: 43.83 kB / 493.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1057, allocations: 0 / 493.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.1058, allocations: 31.92 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.1059, allocations: 19.97 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.1059, allocations: 49.52 kB / 493.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1061, allocations: 68.06 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1061, allocations: 3.938 kB / 493.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1061, allocations: 7.984 kB / 493.6 MB, free: 7.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1061, allocations: 4 kB / 493.6 MB, free: 7.898 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004693/0.1066, allocations: 391.1 kB / 493.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1066, allocations: 12.03 kB / 494 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.1067, allocations: 30.75 kB / 494 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.1067, allocations: 8.844 kB / 494 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1069, allocations: 208.1 kB / 494.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1069, allocations: 4.375 kB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.107, allocations: 3.938 kB / 494.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1071, allocations: 57.61 kB / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1071, allocations: 3.938 kB / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.1071, allocations: 0 / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1071, allocations: 0 / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/0.1072, allocations: 12 kB / 494.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.1074, allocations: 185.6 kB / 494.5 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1075, allocations: 58.55 kB / 494.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.1076, allocations: 20.84 kB / 494.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1076, allocations: 0 / 494.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1077, allocations: 71.33 kB / 494.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1078, allocations: 0 / 494.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002291/0.108, allocations: 89.58 kB / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.108, allocations: 55.41 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1082, allocations: 186.1 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1082, allocations: 29.7 kB / 495 MB, free: 6.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.1083, allocations: 96.14 kB / 495.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.1083, allocations: 11.89 kB / 495.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.1083, allocations: 0 / 495.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1084, allocations: 322.8 kB / 495.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.1085, allocations: 15.94 kB / 495.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.1085, allocations: 37.7 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.227e-05/0.1086, allocations: 41.7 kB / 495.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1086, allocations: 3.938 kB / 495.5 MB, free: 5.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001328/0.1088, allocations: 77.53 kB / 495.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1088, allocations: 8 kB / 495.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1088, allocations: 0 / 495.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1088, allocations: 0 / 495.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.1089, allocations: 16.33 kB / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1089, allocations: 0 / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.1089, allocations: 7.906 kB / 495.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.109, allocations: 8.156 kB / 495.6 MB, free: 5.629 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 (7): * Single equations (assignments): 7 * 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.852e-05/0.109, allocations: 129.7 kB / 495.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.1091, allocations: 11.89 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.1091, allocations: 12.31 kB / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1091, allocations: 0 / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1091, allocations: 0 / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1091, allocations: 4 kB / 495.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1093, allocations: 197.5 kB / 495.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1093, allocations: 0 / 495.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.1093, allocations: 4 kB / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1093, allocations: 0 / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1093, allocations: 3.938 kB / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1093, allocations: 7.984 kB / 496 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1093, allocations: 3.938 kB / 496 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.1095, allocations: 113 kB / 496.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.1096, allocations: 88.92 kB / 496.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1096, allocations: 7.984 kB / 496.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.43e-05/0.1096, allocations: 0 / 496.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.1097, allocations: 7.938 kB / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1097, allocations: 0 / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1098, allocations: 148 kB / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1098, allocations: 0 / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.11, allocations: 16 kB / 496.3 MB, free: 4.797 MB / 378.7 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 (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.001067/0.1111, allocations: 0.9426 MB / 497.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.1112, allocations: 39.92 kB / 497.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1112, allocations: 0 / 497.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.594e-05/0.1113, allocations: 23.98 kB / 497.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1115, allocations: 31.64 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008853/0.1124, allocations: 0.6672 MB / 498 MB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1126, allocations: 0.6926 MB / 498.7 MB, free: 2.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.1127, allocations: 31.42 kB / 498.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1127, allocations: 0 / 498.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.692/2.805, allocations: 2.001 MB / 0.489 GB, free: 304 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches