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.001019/0.001019, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009957/0.0009957, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9186/0.9186, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1387/0.1387, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.869e-05, allocations: 5.656 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002153/0.002172, allocations: 1.833 MB / 408.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006939/0.002865, allocations: 0.5616 MB / 409.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.764e-05/0.002963, allocations: 7.938 kB / 409.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.003135, allocations: 31.73 kB / 409.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.003252, allocations: 35.7 kB / 409.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.00342, allocations: 47.92 kB / 409.3 MB, free: 11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.003583, allocations: 151.4 kB / 409.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.003725, allocations: 45.64 kB / 409.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.003897, allocations: 95.72 kB / 409.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.003963, allocations: 47.81 kB / 409.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.003992, allocations: 12 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.004008, allocations: 16 kB / 409.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.004037, allocations: 31.91 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.004078, allocations: 43.91 kB / 409.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.004246, allocations: 167.4 kB / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.004248, allocations: 0 / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004249, allocations: 0 / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.004254, allocations: 0 / 409.9 MB, free: 10.4 MB / 346.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.0005247/0.004779, allocations: 370 kB / 410.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.004829, allocations: 8.031 kB / 410.3 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/0.004882, allocations: 46.73 kB / 410.3 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.004915, allocations: 20.84 kB / 410.4 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.005105, allocations: 145.5 kB / 410.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.005117, allocations: 8.656 kB / 410.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.005133, allocations: 16.31 kB / 410.5 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.005371, allocations: 136.4 kB / 410.7 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.00538, allocations: 192 / 410.7 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.005394, allocations: 12.12 kB / 410.7 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.005399, allocations: 0 / 410.7 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.005567, allocations: 116.1 kB / 410.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.006203, allocations: 0.54 MB / 411.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.006366, allocations: 66.52 kB / 411.4 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.006419, allocations: 29.02 kB / 411.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.006434, allocations: 3.984 kB / 411.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.00645, allocations: 34.56 kB / 411.5 MB, free: 8.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.006451, allocations: 4 kB / 411.5 MB, free: 8.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002331/0.006684, allocations: 105.6 kB / 411.6 MB, free: 8.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.006709, allocations: 55.34 kB / 411.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.477e-05/0.006804, allocations: 157.7 kB / 411.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.006815, allocations: 33.62 kB / 411.8 MB, free: 8.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.006872, allocations: 131.8 kB / 411.9 MB, free: 8.207 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.006883, allocations: 19.81 kB / 412 MB, free: 8.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.006916, allocations: 29.67 kB / 412 MB, free: 8.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.006993, allocations: 326.8 kB / 412.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.007048, allocations: 23.98 kB / 412.3 MB, free: 7.801 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.019e-05/0.007118, allocations: 64.52 kB / 412.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.007238, allocations: 92.19 kB / 412.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.007241, allocations: 8 kB / 412.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001606/0.007402, allocations: 129.5 kB / 412.6 MB, free: 7.477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.007416, allocations: 6.656 kB / 412.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007421, allocations: 0 / 412.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.007433, allocations: 4 kB / 412.6 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.007507, allocations: 27.98 kB / 412.7 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.007512, allocations: 4.125 kB / 412.7 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.00756, allocations: 23.81 kB / 412.7 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.007567, allocations: 7.938 kB / 412.7 MB, free: 7.406 MB / 346.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.007639, allocations: 117.8 kB / 412.8 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.007653, allocations: 7.953 kB / 412.8 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.007679, allocations: 12.47 kB / 412.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.00768, allocations: 0 / 412.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.007685, allocations: 0 / 412.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.007689, allocations: 7.922 kB / 412.8 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.007834, allocations: 168.7 kB / 413 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.007835, allocations: 4 kB / 413 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.007878, allocations: 19.98 kB / 413 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.007879, allocations: 0 / 413 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.007886, allocations: 3.938 kB / 413 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007887, allocations: 0 / 413 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007888, allocations: 3.938 kB / 413 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.008049, allocations: 187.3 kB / 413.2 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.008061, allocations: 7.953 kB / 413.2 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.008073, allocations: 4 kB / 413.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.008121, allocations: 11.98 kB / 413.2 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.008155, allocations: 7.984 kB / 413.2 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.008159, allocations: 3.938 kB / 413.2 MB, free: 6.773 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.00821, allocations: 107.3 kB / 413.4 MB, free: 6.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00821, allocations: 0 / 413.4 MB, free: 6.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.008377, allocations: 31.89 kB / 413.4 MB, free: 6.637 MB / 346.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 (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.0003066/0.008683, allocations: 0.7163 MB / 414.1 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.008826, allocations: 71.89 kB / 414.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.008828, allocations: 0 / 414.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.008874, allocations: 23.98 kB / 414.2 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.009055, allocations: 11.92 kB / 414.2 MB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.0102, allocations: 1.626 MB / 415.8 MB, free: 4.055 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.674e-05/0.01026, allocations: 102.1 kB / 415.9 MB, free: 3.934 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.917e-05/0.01029, allocations: 4.719 kB / 415.9 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.01034, allocations: 36.48 kB / 416 MB, free: 3.895 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01034, allocations: 0 / 416 MB, free: 3.895 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.02412, allocations: 2.804 MB / 418.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.748/6.773, allocations: 7.875 kB / 418.8 MB, free: 1.09 MB / 346.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/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: 8.841714270412922]