Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 114.7 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 191.7 kB / 20.07 MB, free: 2.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4116/0.4116, allocations: 44.23 MB / 326.5 MB, free: 6.84 MB / 254.1 MB " [Timeout remaining time 179] 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.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002442/0.002442, allocations: 80.45 kB / 462.1 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3344, allocations: 60.99 MB / 0.5109 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003243/0.3377, allocations: 1.885 MB / 0.5127 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3387, allocations: 0.6168 MB / 0.5133 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.3388, allocations: 2.875 kB / 0.5133 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.339, allocations: 35.05 kB / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.3391, allocations: 34.05 kB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.3393, allocations: 45.81 kB / 0.5134 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3395, allocations: 154.6 kB / 0.5136 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3397, allocations: 41.88 kB / 0.5136 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.3398, allocations: 66.25 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.3399, allocations: 68.12 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.3399, allocations: 14.28 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.73e-05/0.34, allocations: 12.44 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.34, allocations: 23.52 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.3401, allocations: 67.89 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.3403, allocations: 161.6 kB / 0.514 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3403, allocations: 4 kB / 0.514 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3403, allocations: 0 / 0.514 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3403, allocations: 0 / 0.514 GB, free: 10.86 MB / 382.1 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.0006372/0.3409, allocations: 444.1 kB / 0.5144 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.341, allocations: 12.11 kB / 0.5144 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.341, allocations: 48.23 kB / 0.5145 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.3411, allocations: 15.72 kB / 0.5145 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.3414, allocations: 204.1 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.3414, allocations: 14.09 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.3414, allocations: 18 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.3417, allocations: 147.6 kB / 0.5149 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3417, allocations: 3.984 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3418, allocations: 7.938 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3418, allocations: 3.719 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.342, allocations: 108.3 kB / 0.515 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009538/0.343, allocations: 0.6091 MB / 0.5156 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.3433, allocations: 61.3 kB / 0.5156 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3434, allocations: 41.44 kB / 0.5157 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.3434, allocations: 1.281 kB / 0.5157 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.3434, allocations: 30.56 kB / 0.5157 GB, free: 9.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3434, allocations: 1.375 kB / 0.5157 GB, free: 9.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004523/0.3438, allocations: 110.1 kB / 0.5158 GB, free: 9.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3439, allocations: 56.78 kB / 0.5159 GB, free: 9.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.344, allocations: 155.2 kB / 0.516 GB, free: 9.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.3441, allocations: 25.7 kB / 0.5161 GB, free: 8.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.3441, allocations: 131.2 kB / 0.5162 GB, free: 8.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.3441, allocations: 14.7 kB / 0.5162 GB, free: 8.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.3442, allocations: 28.67 kB / 0.5162 GB, free: 8.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.3443, allocations: 321.6 kB / 0.5165 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.3444, allocations: 31.39 kB / 0.5166 GB, free: 8.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3445, allocations: 60.02 kB / 0.5166 GB, free: 8.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.3447, allocations: 95.81 kB / 0.5167 GB, free: 8.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3447, allocations: 0 / 0.5167 GB, free: 8.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002898/0.345, allocations: 123.3 kB / 0.5168 GB, free: 8.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.345, allocations: 5.531 kB / 0.5168 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3451, allocations: 1.469 kB / 0.5168 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.3451, allocations: 9.312 kB / 0.5168 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.3452, allocations: 36.36 kB / 0.5169 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3452, allocations: 1.375 kB / 0.5169 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3453, allocations: 18.75 kB / 0.5169 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3453, allocations: 2.75 kB / 0.5169 GB, free: 8.246 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.563e-05/0.3454, allocations: 120.7 kB / 0.517 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.3455, allocations: 8.078 kB / 0.517 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.3455, allocations: 13.67 kB / 0.517 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3455, allocations: 9.312 kB / 0.517 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3455, allocations: 0 / 0.517 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3455, allocations: 1.375 kB / 0.517 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.3458, allocations: 206.4 kB / 0.5172 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3458, allocations: 256 / 0.5172 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.3458, allocations: 18.98 kB / 0.5173 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3458, allocations: 5.312 kB / 0.5173 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3459, allocations: 0 / 0.5173 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3459, allocations: 9.297 kB / 0.5173 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3459, allocations: 0 / 0.5173 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3461, allocations: 189.8 kB / 0.5174 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.3461, allocations: 87.75 kB / 0.5175 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3462, allocations: 1.375 kB / 0.5175 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.3463, allocations: 12.05 kB / 0.5175 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.3463, allocations: 5.359 kB / 0.5175 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3463, allocations: 5.375 kB / 0.5176 GB, free: 7.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.3464, allocations: 113.9 kB / 0.5177 GB, free: 7.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3464, allocations: 1.375 kB / 0.5177 GB, free: 7.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.3467, allocations: 27.2 kB / 0.5177 GB, free: 7.465 MB / 382.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: 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 (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.0004879/0.3472, allocations: 0.7163 MB / 0.5184 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.3475, allocations: 70.39 kB / 0.5185 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3475, allocations: 1.375 kB / 0.5185 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.351e-05/0.3476, allocations: 27.09 kB / 0.5185 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3479, allocations: 6.984 kB / 0.5185 GB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.3498, allocations: 1.655 MB / 0.5201 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.35, allocations: 0.7041 MB / 0.5208 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.3501, allocations: 16.59 kB / 0.5208 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.3501, allocations: 35.42 kB / 0.5208 GB, free: 4.266 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3501, allocations: 0 / 0.5208 GB, free: 4.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.3757, allocations: 2.136 MB / 0.5229 GB, free: 2.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.58, allocations: 14.84 kB / 0.5229 GB, free: 2.113 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.596124787814915]