Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001783/0.001783, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00207/0.00207, allocations: 207.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2809/0.2809, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002506, allocations: 83.86 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3295, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003615/0.3331, allocations: 1.882 MB / 0.5625 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3343, allocations: 0.557 MB / 0.5631 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.329e-05/0.3343, allocations: 0 / 0.5631 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.3345, allocations: 35.73 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3346, allocations: 35.7 kB / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.3348, allocations: 51.86 kB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.335, allocations: 147.5 kB / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3351, allocations: 43.53 kB / 0.5634 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3352, allocations: 63.78 kB / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.532e-05/0.3353, allocations: 51.7 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.3353, allocations: 16 kB / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.693e-05/0.3353, allocations: 12 kB / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.3354, allocations: 31.92 kB / 0.5635 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.3354, allocations: 59.72 kB / 0.5636 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.3356, allocations: 167.2 kB / 0.5637 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3357, allocations: 0 / 0.5637 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3357, allocations: 0 / 0.5637 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3357, allocations: 0 / 0.5637 GB, free: 0.8672 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.000616/0.3363, allocations: 373.9 kB / 0.5641 GB, free: 480 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3363, allocations: 12.02 kB / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/0.3364, allocations: 46.75 kB / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.3364, allocations: 16.84 kB / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.3367, allocations: 146.3 kB / 0.5643 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3367, allocations: 8.656 kB / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3367, allocations: 12.38 kB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.337, allocations: 143.9 kB / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3371, allocations: 0 / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.3371, allocations: 8 kB / 0.5645 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3371, allocations: 4 kB / 0.5645 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.3374, allocations: 112.7 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3384, allocations: 0.5396 MB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.3387, allocations: 70.58 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.3388, allocations: 36.88 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.3388, allocations: 0 / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3388, allocations: 38.56 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.3388, allocations: 0 / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003797/0.3392, allocations: 105.6 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3393, allocations: 55.41 kB / 0.5654 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3394, allocations: 158.3 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3394, allocations: 25.7 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.97e-05/0.3395, allocations: 135.8 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.3395, allocations: 19.8 kB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.3396, allocations: 29.72 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3398, allocations: 322.8 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3399, allocations: 31.91 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.34, allocations: 64.2 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.3402, allocations: 100.2 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3402, allocations: 0 / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002936/0.3405, allocations: 125.5 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3405, allocations: 8 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3405, allocations: 0 / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3406, allocations: 3.938 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3407, allocations: 23.98 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3407, allocations: 12.11 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.977e-05/0.3408, allocations: 15.95 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3408, allocations: 0 / 0.5664 GB, free: 13.86 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.0001071/0.3409, allocations: 131 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.3409, allocations: 7.953 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.341, allocations: 16.39 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.341, allocations: 3.938 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.341, allocations: 0 / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.341, allocations: 7.922 kB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3412, allocations: 172.7 kB / 0.5668 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3412, allocations: 4 kB / 0.5668 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.3413, allocations: 11.98 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3413, allocations: 4 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3413, allocations: 0 / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3413, allocations: 3.938 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.3413, allocations: 4.234 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.3416, allocations: 191.4 kB / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.3416, allocations: 7.953 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3417, allocations: 11.94 kB / 0.567 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.3417, allocations: 11.92 kB / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.3418, allocations: 0 / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3418, allocations: 4 kB / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.869e-05/0.3419, allocations: 118.8 kB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3419, allocations: 0 / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000253/0.3421, allocations: 27.89 kB / 0.5671 GB, free: 13.07 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.0006029/0.3427, allocations: 0.7124 MB / 0.5678 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.343, allocations: 71.88 kB / 0.5679 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.343, allocations: 0 / 0.5679 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.817e-05/0.3431, allocations: 27.92 kB / 0.5679 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.3434, allocations: 10.03 kB / 0.5679 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.3454, allocations: 1.644 MB / 0.5695 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.097e-05/0.3455, allocations: 98.27 kB / 0.5696 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.293e-05/0.3455, allocations: 4.672 kB / 0.5696 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.3456, allocations: 35.42 kB / 0.5697 GB, free: 10.32 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3456, allocations: 0 / 0.5697 GB, free: 10.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.375, allocations: 2.693 MB / 0.5723 GB, free: 7.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.41, allocations: 8 kB / 0.5723 GB, free: 7.727 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.33254678407684]