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.002297/0.002297, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002718/0.002718, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.653/1.653, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3915/0.3915, allocations: 34.26 MB / 295.2 MB, free: 0.625 MB / 266.7 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: 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.453e-06/1.453e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.877e-05, allocations: 4.844 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00436/0.004388, allocations: 1.938 MB / 379.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.005699, allocations: 0.5842 MB / 379.7 MB, free: 388 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.005822, allocations: 8 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.006036, allocations: 35.66 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.006183, allocations: 31.7 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.006375, allocations: 43.94 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.006629, allocations: 155.4 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.006778, allocations: 41.78 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.006978, allocations: 87.84 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.007079, allocations: 43.83 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.007114, allocations: 16 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-05/0.007147, allocations: 16 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.007191, allocations: 31.91 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.007268, allocations: 47.84 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.007553, allocations: 159.5 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007556, allocations: 0 / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.007557, allocations: 0 / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.007563, allocations: 0 / 380.4 MB, free: 15.67 MB / 362.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.0007445/0.008308, allocations: 487.9 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.008357, allocations: 11.97 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.008436, allocations: 28.84 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.00867, allocations: 144.4 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.008687, allocations: 8.656 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.008711, allocations: 16.31 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.009037, allocations: 136.4 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.009046, allocations: 192 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.009063, allocations: 4.375 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.009074, allocations: 7.938 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.009337, allocations: 92.8 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.0104, allocations: 0.5907 MB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.01063, allocations: 67.11 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/0.01071, allocations: 23.81 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.01074, allocations: 7.938 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.01079, allocations: 45.31 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.01079, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003405/0.01113, allocations: 97.62 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.01118, allocations: 55.41 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.01141, allocations: 213 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.01143, allocations: 25.7 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.01157, allocations: 194.4 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.01159, allocations: 19.84 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.01166, allocations: 35.38 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002681/0.01192, allocations: 0.4961 MB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.01201, allocations: 23.98 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.01216, allocations: 82.3 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.01239, allocations: 94.36 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.0124, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002726/0.01267, allocations: 125.5 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01268, allocations: 8.062 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.01269, allocations: 8 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.0127, allocations: 0 / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.01282, allocations: 23.98 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01283, allocations: 0 / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.01291, allocations: 15.89 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.01292, allocations: 4 kB / 383.6 MB, free: 12.26 MB / 362.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 0.0001406/0.01306, allocations: 172.5 kB / 383.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.01309, allocations: 7.953 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.01314, allocations: 16.45 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01315, allocations: 4 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01315, allocations: 0 / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.01315, allocations: 0 / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.01338, allocations: 172.5 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01338, allocations: 0 / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.01346, allocations: 15.98 kB / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01346, allocations: 0 / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.01347, allocations: 0 / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.01347, allocations: 4 kB / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01348, allocations: 0 / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.01377, allocations: 240 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.01379, allocations: 3.953 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.01381, allocations: 8.062 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.01388, allocations: 3.984 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.01392, allocations: 4 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-06/0.01393, allocations: 0 / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.01406, allocations: 159.2 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01406, allocations: 0 / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.01432, allocations: 31.89 kB / 384.4 MB, free: 11.38 MB / 362.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 0.0001109/0.01443, allocations: 95.25 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.01465, allocations: 67.59 kB / 384.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01465, allocations: 0 / 384.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.08e-05/0.01473, allocations: 31.67 kB / 384.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01497, allocations: 11.94 kB / 384.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.01555, allocations: 263.4 kB / 384.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.01565, allocations: 94.28 kB / 384.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.414e-05/0.0157, allocations: 7.984 kB / 384.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.01573, allocations: 12.5 kB / 385 MB, free: 10.73 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01573, allocations: 0 / 385 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Templates: time 0.003577/0.01931, allocations: 0.6863 MB / 385.6 MB, free: 10.05 MB / 362.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","/var/lib/jenkins/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: 4.993728239089251]