Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",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.0008552/0.0008553, allocations: 174.8 kB / 16.72 MB, free: 4.957 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.259/1.259, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007541/0.0007542, allocations: 90.41 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.3002/0.3002, allocations: 43.55 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 16 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09682, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00172/0.09857, allocations: 1.402 MB / 492.3 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.09961, allocations: 0.7422 MB / 493.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.09968, allocations: 0 / 493.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.09992, allocations: 31.91 kB / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.1001, allocations: 39.83 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1003, allocations: 79.84 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1004, allocations: 87.69 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.821e-05/0.1005, allocations: 8.219 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.1006, allocations: 39.8 kB / 493.4 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.1007, allocations: 35.83 kB / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1007, allocations: 0 / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.1008, allocations: 35.94 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.1008, allocations: 15.92 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.1009, allocations: 57.48 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.101, allocations: 84.11 kB / 493.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1011, allocations: 0 / 493.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1011, allocations: 0 / 493.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1011, allocations: 0 / 493.6 MB, free: 8.121 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.0004345/0.1015, allocations: 399 kB / 494 MB, free: 7.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1015, allocations: 8.031 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.1016, allocations: 30.75 kB / 494 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.1016, allocations: 8.844 kB / 494 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.1018, allocations: 216.1 kB / 494.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1018, allocations: 4.312 kB / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1019, allocations: 7.938 kB / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.102, allocations: 53.67 kB / 494.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.102, allocations: 7.984 kB / 494.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.102, allocations: 0 / 494.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.102, allocations: 0 / 494.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.1021, allocations: 23.92 kB / 494.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.1024, allocations: 284.8 kB / 494.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1026, allocations: 58.67 kB / 494.7 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.1026, allocations: 20.86 kB / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1027, allocations: 3.984 kB / 494.7 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.1028, allocations: 71.33 kB / 494.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1028, allocations: 0 / 494.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004636/0.1033, allocations: 165.2 kB / 494.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1034, allocations: 63.38 kB / 495 MB, free: 6.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1035, allocations: 174.2 kB / 495.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1036, allocations: 29.7 kB / 495.2 MB, free: 6.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.1036, allocations: 96.12 kB / 495.3 MB, free: 6.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.1036, allocations: 23.66 kB / 495.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.1036, allocations: 4 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1038, allocations: 322.8 kB / 495.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.1038, allocations: 19.98 kB / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.978e-05/0.1039, allocations: 41.7 kB / 495.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.104, allocations: 53.66 kB / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.104, allocations: 0 / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001672/0.1042, allocations: 105.5 kB / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1042, allocations: 4 kB / 495.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1042, allocations: 0 / 495.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.1042, allocations: 0 / 495.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.1043, allocations: 19.98 kB / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1043, allocations: 4.031 kB / 495.9 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.1044, allocations: 7.938 kB / 495.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1044, allocations: 0 / 495.9 MB, free: 5.594 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.225e-05/0.1045, allocations: 125.2 kB / 496 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.1045, allocations: 19.8 kB / 496 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.1045, allocations: 12.72 kB / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1045, allocations: 3.938 kB / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1045, allocations: 0 / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1045, allocations: 7.938 kB / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.1049, allocations: 383.7 kB / 496.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1049, allocations: 0 / 496.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.105, allocations: 23.92 kB / 496.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.105, allocations: 7.938 kB / 496.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.105, allocations: 192 / 496.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.105, allocations: 0 / 496.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.105, allocations: 7.938 kB / 496.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1052, allocations: 204.5 kB / 496.6 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1053, allocations: 92.91 kB / 496.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1053, allocations: 7.938 kB / 496.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.1054, allocations: 0 / 496.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1054, allocations: 11.98 kB / 496.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1054, allocations: 4 kB / 496.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.626e-05/0.1055, allocations: 139.9 kB / 496.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1055, allocations: 0 / 496.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00023/0.1058, allocations: 23.98 kB / 496.9 MB, free: 4.441 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.001199/0.107, allocations: 1.087 MB / 498 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1071, allocations: 55.91 kB / 498.1 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1071, allocations: 0 / 498.1 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.861e-05/0.1072, allocations: 28.06 kB / 498.1 MB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1076, allocations: 39.89 kB / 498.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009787/0.1085, allocations: 0.708 MB / 498.8 MB, free: 2.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.1088, allocations: 0.7002 MB / 499.5 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.1089, allocations: 35.42 kB / 499.6 MB, free: 1.719 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1089, allocations: 0 / 499.6 MB, free: 1.719 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.828/2.937, allocations: 2.158 MB / 0.49 GB, free: 42.3 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches