Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.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.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors",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.001494/0.001494, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.221/1.221, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0006956/0.0006957, allocations: 98.33 kB / 271.2 MB, free: 8.25 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.2905/0.2905, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 8 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09244, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.001964/0.09444, allocations: 1.551 MB / 492.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007685/0.09523, allocations: 0.5621 MB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.09531, allocations: 4 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.09544, allocations: 27.8 kB / 493.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.09555, allocations: 27.83 kB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.09568, allocations: 31.97 kB / 493.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.09584, allocations: 139.4 kB / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.09598, allocations: 57.78 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.09609, allocations: 47.84 kB / 493.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.09617, allocations: 55.75 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.0962, allocations: 15.88 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.123e-05/0.09623, allocations: 8 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.09626, allocations: 19.92 kB / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.09633, allocations: 77.44 kB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.09644, allocations: 119.9 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09646, allocations: 4 kB / 493.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09646, allocations: 0 / 493.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.09647, allocations: 0 / 493.6 MB, free: 7.801 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005239/0.097, allocations: 423.4 kB / 494.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.09705, allocations: 8.031 kB / 494.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.09709, allocations: 50.73 kB / 494.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.09713, allocations: 16.75 kB / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.0973, allocations: 208.1 kB / 494.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.09733, allocations: 12.64 kB / 494.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.09735, allocations: 12.38 kB / 494.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.09765, allocations: 147.9 kB / 494.5 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.09766, allocations: 0 / 494.5 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.09768, allocations: 4 kB / 494.5 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.09769, allocations: 8 kB / 494.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.09799, allocations: 116.2 kB / 494.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.0989, allocations: 0.618 MB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.09914, allocations: 74.58 kB / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.892e-05/0.09925, allocations: 33.02 kB / 495.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.09928, allocations: 0 / 495.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.0993, allocations: 42.55 kB / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.245e-06/0.09931, allocations: 3.984 kB / 495.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003766/0.09969, allocations: 121.7 kB / 495.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.09973, allocations: 59.41 kB / 495.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.09986, allocations: 149.7 kB / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.09988, allocations: 29.7 kB / 495.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.09996, allocations: 135.5 kB / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.09998, allocations: 23.73 kB / 495.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.09999, allocations: 0 / 495.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.1001, allocations: 314.8 kB / 496.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1002, allocations: 39.97 kB / 496.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1003, allocations: 64.27 kB / 496.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.1005, allocations: 104.2 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1006, allocations: 4 kB / 496.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002757/0.1008, allocations: 133.5 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1009, allocations: 8 kB / 496.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1009, allocations: 4 kB / 496.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1009, allocations: 4.062 kB / 496.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.101, allocations: 43.84 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.101, allocations: 4.062 kB / 496.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.1011, allocations: 19.84 kB / 496.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1012, allocations: 4 kB / 496.6 MB, free: 4.535 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.687e-05/0.1012, allocations: 121.8 kB / 496.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.1013, allocations: 7.906 kB / 496.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.1013, allocations: 16.31 kB / 496.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1013, allocations: 3.938 kB / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.1013, allocations: 3.938 kB / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1013, allocations: 0 / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.1015, allocations: 205.6 kB / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1015, allocations: 0 / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.2e-05/0.1016, allocations: 23.92 kB / 497 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1016, allocations: 0 / 497 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1017, allocations: 0 / 497 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1017, allocations: 7.938 kB / 497 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1017, allocations: 0 / 497 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.102, allocations: 195.4 kB / 497.2 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.102, allocations: 85.02 kB / 497.3 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.102, allocations: 3.984 kB / 497.3 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.1021, allocations: 11.94 kB / 497.3 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1022, allocations: 7.984 kB / 497.3 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1022, allocations: 4 kB / 497.3 MB, free: 3.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.371e-05/0.1023, allocations: 103.3 kB / 497.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1023, allocations: 0 / 497.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.1025, allocations: 31.84 kB / 497.5 MB, free: 3.625 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0004906/0.103, allocations: 0.7318 MB / 498.2 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1033, allocations: 87.95 kB / 498.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1033, allocations: 0 / 498.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.857e-05/0.1034, allocations: 36.23 kB / 498.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1037, allocations: 11.64 kB / 498.3 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1048, allocations: 0.8091 MB / 499.1 MB, free: 1.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1051, allocations: 0.7041 MB / 499.8 MB, free: 1.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.1052, allocations: 35.42 kB / 499.9 MB, free: 1.094 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1052, allocations: 4 kB / 499.9 MB, free: 1.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.593/2.698, allocations: 1.7 MB / 0.4898 GB, free: 42.41 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches