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.001296/0.001296, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001482/0.001482, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.537/1.537, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2451/0.2451, allocations: 46.89 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 179] 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.002415/0.002415, allocations: 83.8 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4065, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003875/0.4104, allocations: 1.943 MB / 0.5631 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.4116, allocations: 0.6115 MB / 0.5637 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.666e-05/0.4117, allocations: 4 kB / 0.5637 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.4119, allocations: 35.7 kB / 0.5637 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.4121, allocations: 39.7 kB / 0.5638 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.4122, allocations: 39.95 kB / 0.5638 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.4124, allocations: 159.4 kB / 0.5639 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.4126, allocations: 52.33 kB / 0.564 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.4127, allocations: 55.84 kB / 0.5641 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.4128, allocations: 63.7 kB / 0.5641 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.4128, allocations: 12 kB / 0.5641 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.304e-05/0.4128, allocations: 15.94 kB / 0.5641 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.4129, allocations: 27.86 kB / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.566e-05/0.413, allocations: 71.66 kB / 0.5642 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.4132, allocations: 163.3 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4132, allocations: 0 / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4132, allocations: 0 / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.4132, allocations: 0 / 0.5644 GB, free: 1.723 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.000732/0.4139, allocations: 451.1 kB / 0.5648 GB, free: 1.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.414, allocations: 12.02 kB / 0.5648 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.414, allocations: 16.84 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.4143, allocations: 204.1 kB / 0.565 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4143, allocations: 12.66 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.4144, allocations: 12.38 kB / 0.5651 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.4147, allocations: 148.1 kB / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4147, allocations: 3.938 kB / 0.5652 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4147, allocations: 4 kB / 0.5652 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.4147, allocations: 8 kB / 0.5652 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.415, allocations: 104.8 kB / 0.5653 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.4161, allocations: 0.6029 MB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.4164, allocations: 62.7 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4165, allocations: 28.97 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.4165, allocations: 7.938 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4165, allocations: 34.56 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4165, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004434/0.417, allocations: 113.5 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.417, allocations: 59.41 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.4172, allocations: 157.6 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.4172, allocations: 25.7 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.4173, allocations: 135.8 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.4173, allocations: 19.89 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.4174, allocations: 29.67 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4175, allocations: 318.8 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.4176, allocations: 27.98 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.4178, allocations: 60.27 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.418, allocations: 96.19 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.418, allocations: 0 / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003018/0.4183, allocations: 133.4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4183, allocations: 8 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4183, allocations: 3.984 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.4183, allocations: 8.125 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4185, allocations: 31.86 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.4185, allocations: 0 / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.4186, allocations: 23.81 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4186, allocations: 8 kB / 0.5672 GB, free: 14.52 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.0001041/0.4187, allocations: 117.8 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.4187, allocations: 7.953 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.4188, allocations: 12.31 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4188, allocations: 11.92 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4188, allocations: 0 / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.4188, allocations: 0 / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.419, allocations: 205.6 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.419, allocations: 4 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.073e-05/0.4191, allocations: 12.23 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4191, allocations: 4 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.4191, allocations: 4 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4191, allocations: 7.875 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4192, allocations: 3.984 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.4194, allocations: 183.5 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.4195, allocations: 81.06 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.4195, allocations: 8 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.4196, allocations: 11.92 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.4197, allocations: 0 / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.4197, allocations: 0 / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.13e-05/0.4198, allocations: 119.2 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4198, allocations: 0 / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.42, allocations: 27.89 kB / 0.568 GB, free: 13.62 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.0001076/0.4201, allocations: 95.25 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.4204, allocations: 67.89 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4204, allocations: 256 / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.4205, allocations: 35.91 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.4208, allocations: 10.72 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.4214, allocations: 271.6 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4217, allocations: 0.708 MB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.925e-05/0.4217, allocations: 4.672 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.4218, allocations: 11.44 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4218, allocations: 0 / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of Templates: time 0.00353/0.4253, allocations: 0.7647 MB / 0.5699 GB, free: 11.61 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.220617589075118]