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.001391/0.001391, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001544/0.001544, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.571/1.571, allocations: 230.3 MB / 258 MB, free: 8.191 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.2414/0.2414, allocations: 46.93 MB / 361.4 MB, free: 4.461 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.00271/0.00271, allocations: 79.86 kB / 0.4971 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3896, allocations: 66.04 MB / 0.5616 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.004088/0.3937, allocations: 1.968 MB / 0.5636 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.395, allocations: 0.6115 MB / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3951, allocations: 4 kB / 0.5642 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.3954, allocations: 35.7 kB / 0.5642 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.3955, allocations: 35.7 kB / 0.5642 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.3957, allocations: 43.95 kB / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.396, allocations: 151.4 kB / 0.5644 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.3962, allocations: 49.38 kB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.3964, allocations: 63.77 kB / 0.5645 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.3965, allocations: 63.7 kB / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.3966, allocations: 16 kB / 0.5646 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.358e-05/0.3966, allocations: 12 kB / 0.5646 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.3966, allocations: 27.92 kB / 0.5646 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.3968, allocations: 67.67 kB / 0.5647 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.3971, allocations: 158.2 kB / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.3971, allocations: 0 / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.3971, allocations: 0 / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.3971, allocations: 0 / 0.5648 GB, free: 1.199 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.0009377/0.398, allocations: 376.4 kB / 0.5652 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.79e-05/0.3981, allocations: 12.03 kB / 0.5652 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.3982, allocations: 20.78 kB / 0.5652 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.3986, allocations: 150.2 kB / 0.5654 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.3987, allocations: 12.66 kB / 0.5654 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.3987, allocations: 12.38 kB / 0.5654 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.3991, allocations: 144.2 kB / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3991, allocations: 0 / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.3991, allocations: 4 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.3991, allocations: 4 kB / 0.5656 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.3994, allocations: 108.7 kB / 0.5657 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.4006, allocations: 0.5631 MB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.4009, allocations: 78.48 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.401, allocations: 28.95 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.401, allocations: 0 / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.401, allocations: 38.56 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.401, allocations: 0 / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004408/0.4015, allocations: 109.5 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.4015, allocations: 51.41 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.4017, allocations: 165.8 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4017, allocations: 25.7 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.4019, allocations: 135.8 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.4019, allocations: 19.91 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.4019, allocations: 29.66 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4021, allocations: 318.8 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4022, allocations: 27.97 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.4023, allocations: 60.27 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.4026, allocations: 96.19 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4026, allocations: 0 / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003286/0.4029, allocations: 129.7 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4029, allocations: 10.5 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4029, allocations: 3.938 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4029, allocations: 3.984 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.4031, allocations: 31.92 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4031, allocations: 7.938 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.4032, allocations: 19.88 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4032, allocations: 8.125 kB / 0.5675 GB, free: 14.21 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.0001074/0.4033, allocations: 121.8 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.4033, allocations: 7.953 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.4034, allocations: 12.41 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4034, allocations: 3.938 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4034, allocations: 0 / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.4034, allocations: 0 / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.4036, allocations: 176.7 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4036, allocations: 0 / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.4037, allocations: 19.98 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4037, allocations: 4 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.4037, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4037, allocations: 3.938 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4037, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.404, allocations: 183.4 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.404, allocations: 19.88 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.404, allocations: 4 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.4041, allocations: 7.938 kB / 0.5681 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.4042, allocations: 7.922 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.4042, allocations: 0 / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.49e-05/0.4043, allocations: 115.2 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4043, allocations: 0 / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.4045, allocations: 23.95 kB / 0.5682 GB, free: 13.44 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.0001224/0.4046, allocations: 99.25 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.405, allocations: 67.89 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.405, allocations: 0 / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.641e-05/0.4051, allocations: 31.91 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.4053, allocations: 8 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.4059, allocations: 268.8 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4063, allocations: 0.7079 MB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.4063, allocations: 8.672 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.4064, allocations: 15.38 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4064, allocations: 0 / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of Templates: time 0.003582/0.4099, allocations: 0.7805 MB / 0.5702 GB, free: 11.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/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: 5.239291386678815]