Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009712/0.0009712, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.002024, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002418, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.101/1.101, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1883/1.289, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1263/0.1263, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.025/0.1514, allocations: 12.29 MB / 265.9 MB, free: 7.824 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.458e-05, allocations: 6.25 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003197/0.003221, allocations: 1.965 MB / 269.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.004237, allocations: 0.6006 MB / 269.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.004323, allocations: 4 kB / 269.8 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.004456, allocations: 31.77 kB / 269.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.49e-05/0.004551, allocations: 39.64 kB / 269.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.004702, allocations: 35.95 kB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.004893, allocations: 159.3 kB / 270 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.005033, allocations: 54.25 kB / 270.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.005241, allocations: 95.84 kB / 270.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.433e-05/0.005335, allocations: 47.83 kB / 270.2 MB, free: 3.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.005369, allocations: 16 kB / 270.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.238e-05/0.005391, allocations: 12 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.005418, allocations: 19.94 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.005473, allocations: 39.94 kB / 270.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.005646, allocations: 91.61 kB / 270.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.005661, allocations: 0 / 270.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005662, allocations: 0 / 270.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.005677, allocations: 8 kB / 270.4 MB, free: 3.316 MB / 266.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.0005585/0.006236, allocations: 364.3 kB / 270.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.006273, allocations: 15.89 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.006322, allocations: 20.92 kB / 270.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.006497, allocations: 141.5 kB / 270.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.006511, allocations: 8.656 kB / 270.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.006532, allocations: 12.38 kB / 270.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.006726, allocations: 117 kB / 271.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.006736, allocations: 4.188 kB / 271.1 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.00675, allocations: 8.375 kB / 271.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.006757, allocations: 3.938 kB / 271.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.006837, allocations: 36.2 kB / 271.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.007558, allocations: 454.9 kB / 271.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.007697, allocations: 42.5 kB / 271.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.007719, allocations: 8.844 kB / 271.6 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.007738, allocations: 4.125 kB / 271.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.007763, allocations: 38.56 kB / 271.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.007765, allocations: 0 / 271.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001432/0.007908, allocations: 49.62 kB / 271.7 MB, free: 1.895 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.00794, allocations: 55.41 kB / 271.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.008046, allocations: 146.5 kB / 271.9 MB, free: 1.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.008059, allocations: 29.7 kB / 271.9 MB, free: 1.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.008124, allocations: 135.7 kB / 272.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.008136, allocations: 11.84 kB / 272.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.008178, allocations: 33.64 kB / 272.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.008266, allocations: 322.8 kB / 272.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.008287, allocations: 11.98 kB / 272.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.008326, allocations: 36.3 kB / 272.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.161e-05/0.008397, allocations: 60.16 kB / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.008401, allocations: 4 kB / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001062/0.008508, allocations: 73.8 kB / 272.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.008521, allocations: 4 kB / 272.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.008527, allocations: 8.125 kB / 272.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/0.008537, allocations: 0 / 272.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.008682, allocations: 31.92 kB / 272.6 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.008686, allocations: 4 kB / 272.6 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.008741, allocations: 4 kB / 272.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.008755, allocations: 8 kB / 272.7 MB, free: 0.8477 MB / 266.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 7.802e-05/0.008833, allocations: 121.8 kB / 272.8 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.008858, allocations: 4 kB / 272.8 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.008882, allocations: 8.469 kB / 272.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.008884, allocations: 4 kB / 272.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.008885, allocations: 3.938 kB / 272.8 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.00889, allocations: 7.984 kB / 272.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.009025, allocations: 93.81 kB / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009027, allocations: 0 / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.009096, allocations: 23.86 kB / 272.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.009113, allocations: 11.89 kB / 272.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.009115, allocations: 0 / 272.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.009121, allocations: 0 / 272.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.009122, allocations: 0 / 272.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.009123, allocations: 0 / 272.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.009249, allocations: 159.5 kB / 273.1 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.009263, allocations: 0 / 273.1 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.00933, allocations: 4 kB / 273.1 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.009364, allocations: 3.984 kB / 273.1 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.009368, allocations: 4 kB / 273.1 MB, free: 376 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.162e-05/0.0094, allocations: 28.83 kB / 273.1 MB, free: 344 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0094, allocations: 0 / 273.1 MB, free: 344 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002056/0.009605, allocations: 27.89 kB / 273.1 MB, free: 316 kB / 266.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.08e-05/0.009686, allocations: 72.42 kB / 273.2 MB, free: 236 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.009791, allocations: 40.78 kB / 273.3 MB, free: 192 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.009799, allocations: 4 kB / 273.3 MB, free: 188 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.009824, allocations: 12.86 kB / 273.3 MB, free: 172 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.01002, allocations: 20.11 kB / 273.3 MB, free: 152 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.01114, allocations: 265.1 kB / 273.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.01119, allocations: 63.34 kB / 273.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.646e-05/0.01122, allocations: 7.938 kB / 273.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.01127, allocations: 55.38 kB / 273.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01127, allocations: 0 / 273.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of Templates: time 0.002939/0.01421, allocations: 0.6854 MB / 274.4 MB, free: 15.03 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/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: 2.7958468720316887]