Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.001464/0.001464, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001656/0.001656, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2328/0.2328, allocations: 44.91 MB / 358.8 MB, free: 6.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002237/0.002237, allocations: 75.83 kB / 0.4931 GB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.322, allocations: 65.47 MB / 0.557 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003827/0.3259, allocations: 1.956 MB / 0.5589 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.327, allocations: 0.6076 MB / 0.5595 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3271, allocations: 7.938 kB / 0.5595 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.3273, allocations: 35.72 kB / 0.5596 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.3275, allocations: 35.7 kB / 0.5596 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.3277, allocations: 47.94 kB / 0.5596 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.3279, allocations: 143.5 kB / 0.5598 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.328, allocations: 51.53 kB / 0.5598 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3281, allocations: 55.78 kB / 0.5599 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3282, allocations: 67.7 kB / 0.5599 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.3283, allocations: 12 kB / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.942e-05/0.3283, allocations: 16 kB / 0.56 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.3283, allocations: 27.92 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.3284, allocations: 75.64 kB / 0.5601 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3286, allocations: 163.3 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3286, allocations: 0 / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3286, allocations: 0 / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3287, allocations: 3.938 kB / 0.5602 GB, free: 4.512 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.0006668/0.3293, allocations: 377.9 kB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3294, allocations: 12.02 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.3294, allocations: 42.75 kB / 0.5606 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.3295, allocations: 16.84 kB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.3297, allocations: 146.3 kB / 0.5608 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3297, allocations: 8.656 kB / 0.5608 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3298, allocations: 12.38 kB / 0.5608 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.3301, allocations: 143.9 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3301, allocations: 0 / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3301, allocations: 8 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3301, allocations: 4 kB / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.3304, allocations: 104.8 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.3315, allocations: 0.5746 MB / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.3317, allocations: 70.56 kB / 0.5617 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3318, allocations: 24.97 kB / 0.5617 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.3319, allocations: 4 kB / 0.5617 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3319, allocations: 30.56 kB / 0.5618 GB, free: 2.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.3319, allocations: 0 / 0.5618 GB, free: 2.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004234/0.3323, allocations: 113.6 kB / 0.5619 GB, free: 2.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3324, allocations: 55.41 kB / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.3325, allocations: 152 kB / 0.5621 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3325, allocations: 29.7 kB / 0.5621 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.3326, allocations: 135.8 kB / 0.5622 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.3327, allocations: 27.75 kB / 0.5622 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.3327, allocations: 33.61 kB / 0.5623 GB, free: 2.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3328, allocations: 322.8 kB / 0.5626 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.333, allocations: 23.98 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3331, allocations: 64.2 kB / 0.5627 GB, free: 1.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.3333, allocations: 104.1 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3333, allocations: 0 / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003022/0.3336, allocations: 125.6 kB / 0.5629 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3336, allocations: 8 kB / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.3336, allocations: 256 / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3337, allocations: 7.938 kB / 0.5629 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3338, allocations: 27.98 kB / 0.5629 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3338, allocations: 0 / 0.5629 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3339, allocations: 23.92 kB / 0.5629 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.3339, allocations: 4 kB / 0.563 GB, free: 1.473 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.0001082/0.334, allocations: 125.8 kB / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.3341, allocations: 7.953 kB / 0.5631 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.3341, allocations: 12.41 kB / 0.5631 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3341, allocations: 3.938 kB / 0.5631 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3341, allocations: 0 / 0.5631 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3341, allocations: 3.984 kB / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.3343, allocations: 180.6 kB / 0.5633 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3343, allocations: 0 / 0.5633 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.3344, allocations: 15.98 kB / 0.5633 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3344, allocations: 0 / 0.5633 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.3344, allocations: 4 kB / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3344, allocations: 3.938 kB / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3345, allocations: 0 / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.3348, allocations: 191.4 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.3348, allocations: 7.953 kB / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3348, allocations: 0 / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3349, allocations: 15.92 kB / 0.5635 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.3349, allocations: 0 / 0.5635 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.3349, allocations: 8 kB / 0.5635 GB, free: 0.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.184e-05/0.335, allocations: 109.7 kB / 0.5636 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.335, allocations: 0 / 0.5636 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.3353, allocations: 27.95 kB / 0.5636 GB, free: 0.6992 MB / 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.0006554/0.336, allocations: 0.7201 MB / 0.5643 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.3362, allocations: 75.81 kB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3362, allocations: 0 / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.897e-05/0.3363, allocations: 24.11 kB / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.3366, allocations: 20.25 kB / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3389, allocations: 1.651 MB / 0.5661 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.3392, allocations: 0.7119 MB / 0.5668 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.3393, allocations: 4.672 kB / 0.5668 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.3393, allocations: 39.42 kB / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3393, allocations: 0 / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.3687, allocations: 2.315 MB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.42, allocations: 14.58 kB / 0.5691 GB, free: 11.11 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.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: 14.30499206809327]