Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001903/0.001903, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001876/0.001876, allocations: 207.4 kB / 23.73 MB, free: 4.379 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 46.96 MB / 360.9 MB, free: 4.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 0.4961 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3359, allocations: 66.03 MB / 0.5606 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.0034/0.3393, allocations: 1.882 MB / 0.5624 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3404, allocations: 0.561 MB / 0.563 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.3405, allocations: 7.938 kB / 0.563 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.3407, allocations: 27.73 kB / 0.563 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.3409, allocations: 35.69 kB / 0.563 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.341, allocations: 51.94 kB / 0.5631 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.3412, allocations: 147.5 kB / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.3414, allocations: 51.53 kB / 0.5633 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3415, allocations: 59.78 kB / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.937e-05/0.3416, allocations: 67.64 kB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.3416, allocations: 12 kB / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.362e-05/0.3416, allocations: 12 kB / 0.5634 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.3417, allocations: 31.91 kB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.057e-05/0.3418, allocations: 55.73 kB / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.342, allocations: 159.3 kB / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.342, allocations: 3.984 kB / 0.5637 GB, free: 1.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.342, allocations: 4 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.342, allocations: 0 / 0.5637 GB, free: 1.117 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.0006542/0.3426, allocations: 373.9 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3427, allocations: 12.03 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.3427, allocations: 50.73 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.3428, allocations: 16.84 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.3431, allocations: 138.3 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3431, allocations: 16.66 kB / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.3431, allocations: 12.38 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.3435, allocations: 151.9 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3435, allocations: 0 / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3435, allocations: 4 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3435, allocations: 4 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.3438, allocations: 104.7 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.3448, allocations: 0.5513 MB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.3451, allocations: 70.55 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.3452, allocations: 28.97 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3452, allocations: 3.938 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3452, allocations: 30.56 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.3452, allocations: 0 / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003811/0.3456, allocations: 113.6 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3457, allocations: 59.33 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3458, allocations: 156.2 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3458, allocations: 25.7 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.404e-05/0.3459, allocations: 135.8 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.3459, allocations: 19.8 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.346, allocations: 25.7 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3461, allocations: 322.8 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3462, allocations: 31.98 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3464, allocations: 64.2 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.3466, allocations: 92.19 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3466, allocations: 0 / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002981/0.3469, allocations: 133.5 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3469, allocations: 4 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3469, allocations: 3.984 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.347, allocations: 7.938 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3471, allocations: 23.98 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3471, allocations: 0 / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3472, allocations: 15.94 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3472, allocations: 12.12 kB / 0.5664 GB, free: 14.1 MB / 414.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.0001067/0.3473, allocations: 121.7 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.3473, allocations: 7.953 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.3474, allocations: 16.66 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3474, allocations: 3.938 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3474, allocations: 4 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3474, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.3476, allocations: 180.6 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3476, allocations: 0 / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.572e-05/0.3477, allocations: 15.98 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3477, allocations: 4 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3477, allocations: 0 / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.3477, allocations: 3.938 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3477, allocations: 0 / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.348, allocations: 191.4 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.348, allocations: 11.94 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3481, allocations: 0 / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3482, allocations: 15.86 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.3482, allocations: 11.98 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3482, allocations: 4 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.317e-05/0.3483, allocations: 109 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3483, allocations: 0 / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3486, allocations: 31.89 kB / 0.5671 GB, free: 13.31 MB / 414.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.0005838/0.3491, allocations: 0.7162 MB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.3494, allocations: 71.95 kB / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3494, allocations: 0 / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/0.3495, allocations: 23.98 kB / 0.5678 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3498, allocations: 11.98 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.3519, allocations: 1.651 MB / 0.5695 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.352, allocations: 90.28 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.768e-05/0.3521, allocations: 12.66 kB / 0.5696 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.3521, allocations: 35.42 kB / 0.5696 GB, free: 10.56 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3522, allocations: 3.938 kB / 0.5696 GB, free: 10.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.3809, allocations: 2.715 MB / 0.5723 GB, free: 7.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.42, allocations: 16.12 kB / 0.5723 GB, free: 7.957 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.428182294999715]