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.001031/0.001031, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001117/0.001117, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9353/0.9353, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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.1578/0.1578, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.366e-05, allocations: 5.156 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002512/0.002535, allocations: 1.97 MB / 382 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006943/0.00323, allocations: 0.5802 MB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.048e-05/0.00332, allocations: 4 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.003462, allocations: 31.72 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.003553, allocations: 39.64 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.00369, allocations: 39.94 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.003837, allocations: 150.7 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.003986, allocations: 49.75 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.004122, allocations: 87.8 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.0042, allocations: 43.89 kB / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.004232, allocations: 16 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.004251, allocations: 12 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.004338, allocations: 31.91 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.004383, allocations: 51.83 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.004561, allocations: 99.59 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.004566, allocations: 0 / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.004567, allocations: 0 / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.004573, allocations: 0 / 383.2 MB, free: 19.57 MB / 314.7 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.0005196/0.005093, allocations: 476.2 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.005126, allocations: 16.03 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.005166, allocations: 24.84 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005312, allocations: 148.4 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.005326, allocations: 12.66 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.00534, allocations: 12.38 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.005504, allocations: 109.1 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005513, allocations: 192 / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.005524, allocations: 8.375 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.00553, allocations: 7.938 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.226e-05/0.005583, allocations: 33.66 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.006068, allocations: 0.5632 MB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.006173, allocations: 51.12 kB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.006189, allocations: 15.67 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.006209, allocations: 3.938 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.006224, allocations: 37.39 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.006225, allocations: 0 / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000132/0.006357, allocations: 57.77 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.006377, allocations: 55.41 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.006449, allocations: 201.8 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.006455, allocations: 25.7 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.006504, allocations: 186.4 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.006513, allocations: 19.83 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.006547, allocations: 31.31 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.0066, allocations: 0.4961 MB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.006617, allocations: 11.94 kB / 385.7 MB, free: 16.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.243e-05/0.00665, allocations: 54.42 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.0067, allocations: 74.34 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006702, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.799e-05/0.006789, allocations: 85.52 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.006801, allocations: 4 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.006806, allocations: 4 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.006816, allocations: 0 / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.006888, allocations: 23.98 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.006892, allocations: 3.938 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.006934, allocations: 20.27 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.006941, allocations: 7.984 kB / 386 MB, free: 16.46 MB / 314.7 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 4.996e-05/0.006991, allocations: 164.5 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.007009, allocations: 7.953 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.007036, allocations: 16.47 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007039, allocations: 0 / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.007041, allocations: 0 / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.007044, allocations: 0 / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.007144, allocations: 125.2 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007146, allocations: 3.938 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.007181, allocations: 16 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007183, allocations: 3.984 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.007188, allocations: 0 / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.007189, allocations: 0 / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.00719, allocations: 4 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.007277, allocations: 207.8 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.007289, allocations: 11.89 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.007301, allocations: 0 / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.007339, allocations: 4 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.007371, allocations: 7.984 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.007374, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.85e-05/0.007413, allocations: 150.8 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007413, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.00759, allocations: 31.89 kB / 386.8 MB, free: 15.67 MB / 314.7 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 8.175e-05/0.007672, allocations: 99.23 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.007779, allocations: 39.61 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.00778, allocations: 0 / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.007802, allocations: 23.62 kB / 386.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.008022, allocations: 9.906 kB / 386.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.008368, allocations: 252.8 kB / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.371e-05/0.008392, allocations: 67.2 kB / 387.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.894e-05/0.00842, allocations: 11.98 kB / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.008457, allocations: 74.2 kB / 387.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.008457, allocations: 0 / 387.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Templates: time 0.002354/0.01081, allocations: 0.759 MB / 388.1 MB, free: 14.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0698564662598073]