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.001925/0.001925, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001462/0.001462, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.522/1.522, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 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.2162/0.2162, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 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 2.144e-06/2.144e-06, allocations: 0 / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.597e-05, allocations: 2.281 kB / 442.6 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003686/0.003721, allocations: 1.891 MB / 444.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.004962, allocations: 0.5609 MB / 445.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.005071, allocations: 4 kB / 445.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.005288, allocations: 39.64 kB / 445.1 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.00544, allocations: 39.64 kB / 445.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.005643, allocations: 35.95 kB / 445.2 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.005888, allocations: 159.4 kB / 445.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.006049, allocations: 37.78 kB / 445.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.006218, allocations: 87.81 kB / 445.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.006328, allocations: 51.86 kB / 445.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.006368, allocations: 12 kB / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.16e-05/0.0064, allocations: 16 kB / 445.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.006448, allocations: 31.84 kB / 445.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.006521, allocations: 43.91 kB / 445.6 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.006789, allocations: 159.5 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.006795, allocations: 3.984 kB / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006796, allocations: 0 / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.443e-06/0.006802, allocations: 3.938 kB / 445.8 MB, free: 2.117 MB / 366.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.0007485/0.007551, allocations: 373.9 kB / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.007592, allocations: 11.97 kB / 446.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.007645, allocations: 16.84 kB / 446.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.007921, allocations: 141.6 kB / 446.3 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.007938, allocations: 12.59 kB / 446.3 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.007965, allocations: 16.38 kB / 446.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.00831, allocations: 136.4 kB / 446.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.008322, allocations: 8.125 kB / 446.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.008342, allocations: 8.375 kB / 446.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.008352, allocations: 7.938 kB / 446.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.008687, allocations: 100.8 kB / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.009823, allocations: 0.5133 MB / 447.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.01013, allocations: 70.58 kB / 447.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.01024, allocations: 25.02 kB / 447.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.01027, allocations: 3.984 kB / 447.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.0103, allocations: 34.5 kB / 447.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.0103, allocations: 0 / 447.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004503/0.01075, allocations: 113.6 kB / 447.4 MB, free: 416 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.0108, allocations: 51.41 kB / 447.4 MB, free: 352 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.01095, allocations: 145.8 kB / 447.6 MB, free: 196 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.01098, allocations: 25.7 kB / 447.6 MB, free: 164 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01109, allocations: 139.7 kB / 447.7 MB, free: 20 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.01112, allocations: 19.8 kB / 447.7 MB, free: 0 / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2263/0.2374, allocations: 22.66 kB / 447.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.2375, allocations: 323 kB / 448.1 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.2377, allocations: 30.25 kB / 448.1 MB, free: 18.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.2378, allocations: 61.14 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.238, allocations: 94.75 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.238, allocations: 5 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003222/0.2383, allocations: 121.6 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.2384, allocations: 6.047 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2384, allocations: 1.094 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.2384, allocations: 7.078 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.2386, allocations: 26.92 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2386, allocations: 10.88 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2387, allocations: 13.5 kB / 448.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.2387, allocations: 2.906 kB / 448.5 MB, free: 18.83 MB / 366.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 9.475e-05/0.2388, allocations: 129.9 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.2388, allocations: 6.125 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.2389, allocations: 11.45 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2389, allocations: 2.234 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2389, allocations: 3.938 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2389, allocations: 3.844 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.239, allocations: 146.2 kB / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.239, allocations: 0 / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.2391, allocations: 16.56 kB / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2391, allocations: 0 / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2392, allocations: 1.094 kB / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2392, allocations: 1.125 kB / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2392, allocations: 2.391 kB / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.2394, allocations: 187 kB / 449 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.2394, allocations: 10.03 kB / 449 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.2395, allocations: 1.75 kB / 449 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.2395, allocations: 5.625 kB / 449 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.2396, allocations: 11.98 kB / 449 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.2396, allocations: 11.75 kB / 449 MB, free: 18.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.321e-05/0.2397, allocations: 108.2 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2397, allocations: 0 / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.2399, allocations: 28.75 kB / 449.1 MB, free: 18.36 MB / 366.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 8.555e-05/0.24, allocations: 91.91 kB / 449.2 MB, free: 18.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.2403, allocations: 74.73 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2403, allocations: 0 / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.2404, allocations: 26.72 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.2407, allocations: 5.688 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/0.2412, allocations: 259.5 kB / 449.6 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.871e-05/0.2413, allocations: 96.44 kB / 449.7 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.96e-05/0.2413, allocations: 5.984 kB / 449.7 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.2414, allocations: 12.5 kB / 449.7 MB, free: 18.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2414, allocations: 0 / 449.7 MB, free: 18.02 MB / 366.1 MB Notification: Performance of Templates: time 0.003455/0.2448, allocations: 0.6618 MB / 450.4 MB, free: 17.96 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] 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.99752227589488]