Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",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.001139/0.001139, allocations: 175.5 kB / 16.72 MB, free: 5.051 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.146/1.146, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006663/0.0006663, allocations: 93.34 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.266/0.266, allocations: 43.57 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 12 kB / 432.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08686/0.08721, allocations: 58.85 MB / 490.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001676/0.08893, allocations: 1.354 MB / 492.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.08984, allocations: 0.7278 MB / 493 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.0899, allocations: 4 kB / 493 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.09015, allocations: 59.86 kB / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.09031, allocations: 51.75 kB / 493.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.09051, allocations: 71.91 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.09064, allocations: 83.69 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.09069, allocations: 7.984 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.09077, allocations: 43.77 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.257e-05/0.09084, allocations: 39.84 kB / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.09086, allocations: 0 / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.235e-05/0.09094, allocations: 31.98 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.09098, allocations: 15.92 kB / 493.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.09104, allocations: 57.5 kB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.09115, allocations: 72.05 kB / 493.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09116, allocations: 0 / 493.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09117, allocations: 4 kB / 493.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.09118, allocations: 0 / 493.5 MB, free: 8.133 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.0003935/0.09158, allocations: 391.1 kB / 493.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.09162, allocations: 12.03 kB / 493.9 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.09166, allocations: 34.75 kB / 494 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.09169, allocations: 12.83 kB / 494 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.09186, allocations: 208 kB / 494.2 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.09188, allocations: 4.375 kB / 494.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.0919, allocations: 3.938 kB / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.09201, allocations: 49.67 kB / 494.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.09202, allocations: 0 / 494.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.09203, allocations: 0 / 494.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.09204, allocations: 0 / 494.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.602e-05/0.0921, allocations: 15.98 kB / 494.3 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.09226, allocations: 185.6 kB / 494.4 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.0924, allocations: 58.48 kB / 494.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.09247, allocations: 20.8 kB / 494.5 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.0925, allocations: 3.938 kB / 494.5 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.09267, allocations: 71.39 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.09269, allocations: 0 / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002846/0.09298, allocations: 97.5 kB / 494.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.09302, allocations: 51.41 kB / 494.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.09322, allocations: 182.2 kB / 494.9 MB, free: 6.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.09325, allocations: 29.7 kB / 494.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.0933, allocations: 100.1 kB / 495 MB, free: 6.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.09333, allocations: 11.89 kB / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.09333, allocations: 4 kB / 495.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.09342, allocations: 322.8 kB / 495.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.09347, allocations: 15.98 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.09353, allocations: 25.7 kB / 495.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/0.09362, allocations: 45.66 kB / 495.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.09363, allocations: 3.938 kB / 495.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001297/0.09377, allocations: 85.58 kB / 495.5 MB, free: 5.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.09379, allocations: 4 kB / 495.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.0938, allocations: 4 kB / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.09381, allocations: 0 / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.09388, allocations: 11.94 kB / 495.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.09389, allocations: 0 / 495.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.09394, allocations: 11.89 kB / 495.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.09395, allocations: 4 kB / 495.6 MB, free: 5.852 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 7.708e-05/0.09403, allocations: 133.6 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.09405, allocations: 7.906 kB / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.09408, allocations: 16.3 kB / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.09409, allocations: 0 / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.0941, allocations: 320 / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.0941, allocations: 0 / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.09422, allocations: 193.5 kB / 495.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.09423, allocations: 0 / 495.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.09425, allocations: 4 kB / 495.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.09425, allocations: 0 / 495.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.09427, allocations: 3.984 kB / 495.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.09428, allocations: 8 kB / 495.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.09428, allocations: 7.875 kB / 495.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.09444, allocations: 109 kB / 496.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.09449, allocations: 84.92 kB / 496.1 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.09452, allocations: 4 kB / 496.1 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.47e-05/0.09456, allocations: 0 / 496.1 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.09459, allocations: 11.98 kB / 496.2 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.0946, allocations: 4 kB / 496.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.995e-05/0.0947, allocations: 148 kB / 496.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09471, allocations: 4 kB / 496.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.09489, allocations: 12 kB / 496.3 MB, free: 5.027 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.0009842/0.09588, allocations: 0.9473 MB / 497.3 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.09601, allocations: 35.98 kB / 497.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.09603, allocations: 0 / 497.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.149e-05/0.09608, allocations: 23.92 kB / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.09631, allocations: 31.53 kB / 497.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/0.09714, allocations: 0.6711 MB / 498 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.09734, allocations: 0.7004 MB / 498.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.09739, allocations: 31.42 kB / 498.8 MB, free: 2.523 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.0974, allocations: 0 / 498.8 MB, free: 2.523 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.766/2.863, allocations: 2.001 MB / 0.489 GB, free: 0.5195 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches