Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.0009059/0.0009059, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002013, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007336/0.0007336, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008774/0.001611, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9489/0.9489, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09559/1.044, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.244/0.244, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02781/0.2718, allocations: 13.1 MB / 291.3 MB, free: 7.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.1.0_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_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.03e-05, allocations: 2.312 kB / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003536/0.003556, allocations: 2.027 MB / 294.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004662, allocations: 0.5887 MB / 295.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.004754, allocations: 4 kB / 295.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.004892, allocations: 39.66 kB / 295.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.907e-05/0.004991, allocations: 31.7 kB / 295.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.005152, allocations: 47.94 kB / 295.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.005332, allocations: 147.4 kB / 295.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.005468, allocations: 58.34 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.005623, allocations: 92.8 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.005705, allocations: 47.88 kB / 295.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.005736, allocations: 12 kB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.058e-05/0.005756, allocations: 16 kB / 295.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.005782, allocations: 19.94 kB / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.005831, allocations: 39.88 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.005991, allocations: 99.61 kB / 295.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.631e-05/0.006007, allocations: 0 / 295.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006008, allocations: 4 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.006024, allocations: 0 / 295.9 MB, free: 3.047 MB / 282.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.000508/0.006532, allocations: 369.5 kB / 296.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.006565, allocations: 12.03 kB / 296.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.006607, allocations: 20.92 kB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.006765, allocations: 137.5 kB / 296.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.006778, allocations: 8.656 kB / 296.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.006794, allocations: 12.38 kB / 296.4 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.006969, allocations: 121.1 kB / 296.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.006977, allocations: 192 / 296.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.006989, allocations: 12.36 kB / 296.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.006995, allocations: 3.938 kB / 296.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.007058, allocations: 32.83 kB / 296.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.007659, allocations: 455 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.007778, allocations: 42.55 kB / 297.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.007798, allocations: 12.86 kB / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.007817, allocations: 0 / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.00784, allocations: 38.62 kB / 297.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.007841, allocations: 0 / 297.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001265/0.007967, allocations: 49.86 kB / 297.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.007997, allocations: 55.41 kB / 297.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.008083, allocations: 142.6 kB / 297.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.008094, allocations: 25.7 kB / 297.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.008156, allocations: 139.7 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.008168, allocations: 15.84 kB / 297.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.008214, allocations: 29.66 kB / 297.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.008304, allocations: 318.8 kB / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.008327, allocations: 16.05 kB / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.008366, allocations: 44.88 kB / 297.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.514e-05/0.008432, allocations: 60.14 kB / 298 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008434, allocations: 0 / 298 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001014/0.008535, allocations: 81.61 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.008549, allocations: 12.03 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.008554, allocations: 3.938 kB / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.008564, allocations: 4 kB / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.008688, allocations: 23.98 kB / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.008691, allocations: 0 / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.00874, allocations: 8 kB / 298.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.008747, allocations: 0 / 298.1 MB, free: 0.5781 MB / 282.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 6.819e-05/0.008815, allocations: 125.7 kB / 298.2 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.008841, allocations: 7.984 kB / 298.3 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.008867, allocations: 16.47 kB / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.008869, allocations: 0 / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008871, allocations: 0 / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008875, allocations: 0 / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.008995, allocations: 97.8 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.008997, allocations: 0 / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.009062, allocations: 19.92 kB / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.009076, allocations: 7.953 kB / 298.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.009078, allocations: 0 / 298.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.009082, allocations: 0 / 298.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009084, allocations: 4 kB / 298.4 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009085, allocations: 4 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.009194, allocations: 147.4 kB / 298.5 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.009207, allocations: 3.984 kB / 298.5 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.009271, allocations: 4 kB / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.009299, allocations: 0 / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.009305, allocations: 8.047 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.412e-05/0.00934, allocations: 35.23 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00934, allocations: 0 / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.009552, allocations: 27.89 kB / 298.6 MB, free: 36 kB / 282.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 9.448e-05/0.009646, allocations: 76.47 kB / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.633e-05/0.009743, allocations: 40.72 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.00975, allocations: 4 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.009773, allocations: 12.86 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.009962, allocations: 21.02 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.01115, allocations: 270.1 kB / 299 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.503e-05/0.0112, allocations: 67.33 kB / 299.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.808e-05/0.01124, allocations: 0 / 299.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.01129, allocations: 55.38 kB / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01129, allocations: 0 / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of Templates: time 0.002933/0.01422, allocations: 0.6881 MB / 299.8 MB, free: 14.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 2.754844957962632]