Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00541/0.00541, allocations: 109.4 kB / 21.98 MB, free: 5.219 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.001423/0.001423, allocations: 216.5 kB / 25.29 MB, free: 3.215 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.444/1.444, allocations: 230.5 MB / 258.9 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2249/0.2249, allocations: 46.92 MB / 362.3 MB, free: 4.223 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-beta.om/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: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 75.88 kB / 0.4982 GB, free: 7.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3093, allocations: 66.07 MB / 0.5627 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003569/0.3129, allocations: 1.959 MB / 0.5646 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3139, allocations: 0.6115 MB / 0.5652 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.314, allocations: 4 kB / 0.5652 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.3142, allocations: 35.72 kB / 0.5653 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3143, allocations: 39.7 kB / 0.5653 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.3145, allocations: 39.95 kB / 0.5653 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.3147, allocations: 155.5 kB / 0.5655 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.3148, allocations: 51.75 kB / 0.5655 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3149, allocations: 59.78 kB / 0.5656 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.93e-05/0.315, allocations: 67.64 kB / 0.5657 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.3151, allocations: 12 kB / 0.5657 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.478e-05/0.3151, allocations: 16 kB / 0.5657 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.3151, allocations: 31.91 kB / 0.5657 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.891e-05/0.3152, allocations: 67.67 kB / 0.5658 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3154, allocations: 163 kB / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3154, allocations: 0 / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3154, allocations: 7.938 kB / 0.5659 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3154, allocations: 0 / 0.5659 GB, free: 0.9766 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.0007327/0.3162, allocations: 366 kB / 0.5663 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3162, allocations: 8.031 kB / 0.5663 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.3163, allocations: 20.84 kB / 0.5663 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.3166, allocations: 154.2 kB / 0.5665 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3166, allocations: 8.656 kB / 0.5665 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.3166, allocations: 16.38 kB / 0.5665 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.3169, allocations: 140.1 kB / 0.5666 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3169, allocations: 0 / 0.5666 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.317, allocations: 8 kB / 0.5666 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.317, allocations: 0 / 0.5666 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.3173, allocations: 108.8 kB / 0.5667 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3184, allocations: 0.5669 MB / 0.5673 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.3186, allocations: 70.55 kB / 0.5674 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3187, allocations: 32.97 kB / 0.5674 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3187, allocations: 0 / 0.5674 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3188, allocations: 30.56 kB / 0.5674 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3188, allocations: 0 / 0.5674 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003896/0.3192, allocations: 105.8 kB / 0.5675 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.3192, allocations: 63.39 kB / 0.5676 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3195, allocations: 154.3 kB / 0.5677 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3195, allocations: 29.7 kB / 0.5678 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3197, allocations: 143.7 kB / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.3197, allocations: 11.91 kB / 0.5679 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.3197, allocations: 33.66 kB / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3199, allocations: 318.8 kB / 0.5682 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.32, allocations: 32.05 kB / 0.5683 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3201, allocations: 64.2 kB / 0.5683 GB, free: 14.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.3204, allocations: 104.1 kB / 0.5684 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3204, allocations: 0 / 0.5684 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003176/0.3207, allocations: 121.5 kB / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3207, allocations: 4 kB / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3207, allocations: 3.984 kB / 0.5686 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3207, allocations: 8.125 kB / 0.5686 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3209, allocations: 27.92 kB / 0.5686 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3209, allocations: 0 / 0.5686 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.873e-05/0.321, allocations: 23.88 kB / 0.5686 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.321, allocations: 4 kB / 0.5686 GB, free: 14 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.0001769/0.3212, allocations: 121.8 kB / 0.5687 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.3212, allocations: 7.953 kB / 0.5687 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.3212, allocations: 16.41 kB / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3212, allocations: 3.938 kB / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3212, allocations: 0 / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3212, allocations: 0 / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.3215, allocations: 180.7 kB / 0.5689 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3215, allocations: 0 / 0.5689 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.225e-05/0.3216, allocations: 23.91 kB / 0.569 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3216, allocations: 0 / 0.569 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3216, allocations: 0 / 0.569 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3216, allocations: 3.938 kB / 0.569 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3216, allocations: 0 / 0.569 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3219, allocations: 191.4 kB / 0.5691 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.3219, allocations: 15.88 kB / 0.5692 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3219, allocations: 0 / 0.5692 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.322, allocations: 7.938 kB / 0.5692 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.322, allocations: 3.984 kB / 0.5692 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.322, allocations: 12.06 kB / 0.5692 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.969e-05/0.3221, allocations: 114.2 kB / 0.5693 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3221, allocations: 4 kB / 0.5693 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3224, allocations: 27.95 kB / 0.5693 GB, free: 13.21 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.0001054/0.3225, allocations: 87.25 kB / 0.5694 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.3227, allocations: 71.88 kB / 0.5695 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3228, allocations: 4.25 kB / 0.5695 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.523e-05/0.3228, allocations: 31.91 kB / 0.5695 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.3231, allocations: 11.94 kB / 0.5695 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.3237, allocations: 290.3 kB / 0.5698 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.3241, allocations: 0.708 MB / 0.5705 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.3241, allocations: 11.44 kB / 0.5705 GB, free: 11.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3241, allocations: 0 / 0.5705 GB, free: 11.94 MB / 414.1 MB Notification: Performance of Templates: time 0.003127/0.3273, allocations: 1.289 MB / 0.5718 GB, free: 10.65 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 7.225954337976873]