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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 118.9 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 203 kB / 20.79 MB, free: 2.297 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.624/1.624, allocations: 207.6 MB / 231.2 MB, free: 4.105 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.4094/0.4094, allocations: 44.23 MB / 327.3 MB, free: 7.117 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 67.91 kB / 462.9 MB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3285, allocations: 61 MB / 0.5116 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002802/0.3313, allocations: 1.888 MB / 0.5135 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009549/0.3323, allocations: 0.6133 MB / 0.5141 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.3324, allocations: 3.219 kB / 0.5141 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.3326, allocations: 39.81 kB / 0.5141 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.3327, allocations: 28.83 kB / 0.5141 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.3329, allocations: 45.11 kB / 0.5142 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.3331, allocations: 159.5 kB / 0.5143 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3332, allocations: 37.39 kB / 0.5143 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.3334, allocations: 68.75 kB / 0.5144 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.3334, allocations: 68.91 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.3335, allocations: 12.28 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.369e-05/0.3335, allocations: 13.19 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.3335, allocations: 32.3 kB / 0.5145 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.3336, allocations: 71.25 kB / 0.5146 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.3338, allocations: 152.7 kB / 0.5147 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3338, allocations: 4 kB / 0.5148 GB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3338, allocations: 1.625 kB / 0.5148 GB, free: 10.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3338, allocations: 0 / 0.5148 GB, free: 10.74 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.0006276/0.3344, allocations: 446 kB / 0.5152 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.3345, allocations: 14.27 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.412e-05/0.3345, allocations: 3.688 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.3345, allocations: 48.27 kB / 0.5152 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.3346, allocations: 20.16 kB / 0.5153 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.3349, allocations: 198.7 kB / 0.5155 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3349, allocations: 14.03 kB / 0.5155 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3349, allocations: 13.12 kB / 0.5155 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.3352, allocations: 142.6 kB / 0.5156 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3352, allocations: 3.938 kB / 0.5156 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3352, allocations: 6.406 kB / 0.5156 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3352, allocations: 3.281 kB / 0.5156 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.3355, allocations: 108.6 kB / 0.5157 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009474/0.3365, allocations: 0.6046 MB / 0.5163 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.3367, allocations: 68.81 kB / 0.5164 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3369, allocations: 41.33 kB / 0.5164 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3369, allocations: 1.375 kB / 0.5164 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.3369, allocations: 31.94 kB / 0.5165 GB, free: 9.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.3369, allocations: 0 / 0.5165 GB, free: 9.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004112/0.3373, allocations: 109.8 kB / 0.5166 GB, free: 9.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.3373, allocations: 56.62 kB / 0.5166 GB, free: 9.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3375, allocations: 155.1 kB / 0.5168 GB, free: 8.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3375, allocations: 25.7 kB / 0.5168 GB, free: 8.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.3375, allocations: 135.8 kB / 0.5169 GB, free: 8.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.3376, allocations: 10.06 kB / 0.5169 GB, free: 8.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.3376, allocations: 33.12 kB / 0.517 GB, free: 8.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.3377, allocations: 317.1 kB / 0.5173 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.3378, allocations: 28.28 kB / 0.5173 GB, free: 8.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3379, allocations: 67.36 kB / 0.5174 GB, free: 8.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.3381, allocations: 95.72 kB / 0.5174 GB, free: 8.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3381, allocations: 0 / 0.5174 GB, free: 8.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002858/0.3384, allocations: 118.8 kB / 0.5176 GB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3384, allocations: 5.656 kB / 0.5176 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3384, allocations: 5.281 kB / 0.5176 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3384, allocations: 6.688 kB / 0.5176 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3386, allocations: 39.38 kB / 0.5176 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.3386, allocations: 6.094 kB / 0.5176 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3387, allocations: 15.86 kB / 0.5176 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3387, allocations: 1.906 kB / 0.5176 GB, free: 8.129 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.66e-05/0.3388, allocations: 124.4 kB / 0.5178 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.3388, allocations: 7.797 kB / 0.5178 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.3388, allocations: 18.38 kB / 0.5178 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3388, allocations: 1.406 kB / 0.5178 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3388, allocations: 4 kB / 0.5178 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3389, allocations: 0 / 0.5178 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.339, allocations: 210.8 kB / 0.518 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.339, allocations: 0 / 0.518 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/0.3391, allocations: 16.64 kB / 0.518 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3391, allocations: 0 / 0.518 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3391, allocations: 9.281 kB / 0.518 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3391, allocations: 0 / 0.518 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3391, allocations: 0 / 0.518 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3394, allocations: 187.9 kB / 0.5182 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.3394, allocations: 86.44 kB / 0.5183 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3394, allocations: 9.016 kB / 0.5183 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.3395, allocations: 3.5 kB / 0.5183 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3396, allocations: 6.703 kB / 0.5183 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3396, allocations: 4 kB / 0.5183 GB, free: 7.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.59e-05/0.3396, allocations: 106.9 kB / 0.5184 GB, free: 7.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3396, allocations: 4 kB / 0.5184 GB, free: 7.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3399, allocations: 27.8 kB / 0.5184 GB, free: 7.355 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.0004014/0.3403, allocations: 0.7157 MB / 0.5191 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.3406, allocations: 75.64 kB / 0.5192 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3406, allocations: 0 / 0.5192 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.576e-05/0.3407, allocations: 24.48 kB / 0.5192 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3409, allocations: 10.73 kB / 0.5192 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.3426, allocations: 1.654 MB / 0.5208 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.3428, allocations: 0.7041 MB / 0.5215 GB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.393e-05/0.3428, allocations: 8.672 kB / 0.5215 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.3429, allocations: 35.42 kB / 0.5216 GB, free: 4.266 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3429, allocations: 3.938 kB / 0.5216 GB, free: 4.262 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.363, allocations: 2.183 MB / 0.5237 GB, free: 2.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.778, allocations: 4.062 kB / 0.5237 GB, free: 2.074 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.852239786996506]