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.00164/0.00164, allocations: 104.3 kB / 19.7 MB, free: 1.934 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.002357/0.002357, allocations: 217.1 kB / 22.99 MB, free: 4.973 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.678/1.678, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.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.2413/0.2413, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.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="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.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.002524/0.002524, allocations: 72.45 kB / 467.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1458, allocations: 61.05 MB / 0.5161 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003847/0.1497, allocations: 1.837 MB / 0.5179 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1507, allocations: 0.5736 MB / 0.5185 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.329e-05/0.1508, allocations: 3.938 kB / 0.5185 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.151, allocations: 27.78 kB / 0.5185 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1511, allocations: 35.7 kB / 0.5185 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.1513, allocations: 39.89 kB / 0.5186 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1515, allocations: 151.5 kB / 0.5187 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1517, allocations: 53.58 kB / 0.5188 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1518, allocations: 63.72 kB / 0.5188 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.1519, allocations: 55.7 kB / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.1519, allocations: 12 kB / 0.5189 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.601e-05/0.152, allocations: 19.94 kB / 0.5189 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.152, allocations: 27.91 kB / 0.519 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.1521, allocations: 55.73 kB / 0.519 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1523, allocations: 163.3 kB / 0.5192 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1523, allocations: 0 / 0.5192 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1523, allocations: 0 / 0.5192 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1523, allocations: 0 / 0.5192 GB, free: 4.059 MB / 398.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.0006374/0.1529, allocations: 366 kB / 0.5195 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.153, allocations: 12.03 kB / 0.5195 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.153, allocations: 50.73 kB / 0.5196 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.1531, allocations: 16.84 kB / 0.5196 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1533, allocations: 138.3 kB / 0.5197 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1533, allocations: 12.66 kB / 0.5197 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1534, allocations: 12.38 kB / 0.5197 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1537, allocations: 148 kB / 0.5199 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1537, allocations: 0 / 0.5199 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1537, allocations: 4 kB / 0.5199 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1537, allocations: 7.938 kB / 0.5199 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.154, allocations: 108.1 kB / 0.52 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.155, allocations: 0.5355 MB / 0.5205 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.1553, allocations: 74.55 kB / 0.5206 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1554, allocations: 28.97 kB / 0.5206 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1555, allocations: 0 / 0.5206 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1555, allocations: 34.56 kB / 0.5207 GB, free: 2.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.1555, allocations: 0 / 0.5207 GB, free: 2.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004131/0.1559, allocations: 109.6 kB / 0.5208 GB, free: 2.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.156, allocations: 63.33 kB / 0.5208 GB, free: 2.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1561, allocations: 149.7 kB / 0.521 GB, free: 2.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1561, allocations: 25.7 kB / 0.521 GB, free: 2.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1562, allocations: 139.7 kB / 0.5211 GB, free: 1.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1563, allocations: 19.8 kB / 0.5211 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.1563, allocations: 29.7 kB / 0.5212 GB, free: 1.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1565, allocations: 318.8 kB / 0.5215 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1566, allocations: 27.97 kB / 0.5215 GB, free: 1.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1567, allocations: 60.27 kB / 0.5216 GB, free: 1.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.157, allocations: 100.2 kB / 0.5217 GB, free: 1.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.157, allocations: 0 / 0.5217 GB, free: 1.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002878/0.1572, allocations: 121.8 kB / 0.5218 GB, free: 1.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1573, allocations: 8 kB / 0.5218 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1573, allocations: 0 / 0.5218 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.1573, allocations: 3.938 kB / 0.5218 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1574, allocations: 31.97 kB / 0.5218 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1574, allocations: 7.938 kB / 0.5218 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.1575, allocations: 15.89 kB / 0.5218 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1575, allocations: 11.92 kB / 0.5218 GB, free: 1.074 MB / 398.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 0.0001157/0.1577, allocations: 125.8 kB / 0.522 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.1577, allocations: 11.98 kB / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.1577, allocations: 12.41 kB / 0.522 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1577, allocations: 3.938 kB / 0.522 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1577, allocations: 0 / 0.522 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1577, allocations: 0 / 0.522 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.158, allocations: 168.7 kB / 0.5222 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.158, allocations: 0 / 0.5222 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.158, allocations: 15.98 kB / 0.5222 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.158, allocations: 0 / 0.5222 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1581, allocations: 8 kB / 0.5222 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.1581, allocations: 7.938 kB / 0.5222 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1581, allocations: 0 / 0.5222 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.1584, allocations: 183.4 kB / 0.5224 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.1584, allocations: 7.953 kB / 0.5224 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1584, allocations: 0 / 0.5224 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.1585, allocations: 19.91 kB / 0.5224 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1585, allocations: 0 / 0.5224 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1585, allocations: 0 / 0.5224 GB, free: 464 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1586, allocations: 119.9 kB / 0.5225 GB, free: 344 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1586, allocations: 4 kB / 0.5225 GB, free: 340 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1589, allocations: 27.89 kB / 0.5225 GB, free: 312 kB / 398.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.000653/0.1595, allocations: 0.7162 MB / 0.5232 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1599, allocations: 76 kB / 0.5233 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1599, allocations: 0 / 0.5233 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.16, allocations: 32.23 kB / 0.5233 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1602, allocations: 8 kB / 0.5233 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.1624, allocations: 1.645 MB / 0.5249 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.99e-05/0.1625, allocations: 94.27 kB / 0.525 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.418e-05/0.1626, allocations: 4.609 kB / 0.525 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.1626, allocations: 39.42 kB / 0.5251 GB, free: 13.54 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1626, allocations: 4 kB / 0.5251 GB, free: 13.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.1908, allocations: 2.672 MB / 0.5277 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.3, allocations: 15.8 kB / 0.5277 GB, free: 10.85 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable magneticPotentialDifferenceSensor.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticFluxSensor.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticFluxSensor.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticPotentialDifferenceSensor.V_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.V_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.865243085194379]