Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.000858/0.000858, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001986, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007214/0.0007214, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.001813, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.026/1.026, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09558/1.122, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.3131/0.3131, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02871/0.3419, allocations: 13.11 MB / 291.5 MB, free: 7.316 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.38e-05, allocations: 4.703 kB / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002961/0.002985, allocations: 1.813 MB / 294.6 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001739/0.003159, allocations: 91.66 kB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.003209, allocations: 8 kB / 294.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.551e-05/0.003265, allocations: 15.8 kB / 294.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.003321, allocations: 19.8 kB / 294.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.222e-05/0.003413, allocations: 39.88 kB / 294.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.003546, allocations: 103.6 kB / 294.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.003694, allocations: 36.45 kB / 294.9 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.003821, allocations: 75.88 kB / 295 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.003908, allocations: 39.88 kB / 295 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.00394, allocations: 12 kB / 295.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.996e-05/0.003959, allocations: 16 kB / 295.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.003991, allocations: 15.94 kB / 295.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.004033, allocations: 31.94 kB / 295.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.004179, allocations: 67.75 kB / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.004191, allocations: 0 / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004191, allocations: 0 / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.004204, allocations: 0 / 295.2 MB, free: 3.824 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005404/0.004744, allocations: 329.4 kB / 295.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.004786, allocations: 8.625 kB / 295.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.004834, allocations: 28.8 kB / 295.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.004947, allocations: 117.7 kB / 295.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.004962, allocations: 4.375 kB / 295.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.004981, allocations: 8.375 kB / 295.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.005184, allocations: 105.1 kB / 295.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005193, allocations: 192 / 295.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.005205, allocations: 4.375 kB / 295.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.005215, allocations: 8.359 kB / 295.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.005271, allocations: 19.94 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.005806, allocations: 307.1 kB / 296.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.005907, allocations: 42.56 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.005988, allocations: 32.77 kB / 296.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.005999, allocations: 3.984 kB / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.006029, allocations: 34.69 kB / 296.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.00603, allocations: 0 / 296.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003316/0.006362, allocations: 94.38 kB / 296.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.006396, allocations: 55.41 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.00648, allocations: 118.7 kB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.006493, allocations: 25.7 kB / 296.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.006553, allocations: 111.8 kB / 296.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.006572, allocations: 19.86 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.006611, allocations: 17.72 kB / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.00672, allocations: 318.8 kB / 297 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.00674, allocations: 8 kB / 297 MB, free: 1.879 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.011e-05/0.00678, allocations: 26.55 kB / 297 MB, free: 1.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.976e-05/0.00684, allocations: 42.5 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.006842, allocations: 0 / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001405/0.006983, allocations: 74.72 kB / 297.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.006999, allocations: 8 kB / 297.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007004, allocations: 0 / 297.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/0.007159, allocations: 16.84 kB / 297.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.007243, allocations: 27.92 kB / 297.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000854/0.008097, allocations: 1.178 MB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.008153, allocations: 4 kB / 298.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.008159, allocations: 0 / 298.3 MB, free: 396 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.324e-05/0.008242, allocations: 121.9 kB / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.00827, allocations: 11.97 kB / 298.5 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.008288, allocations: 8.438 kB / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.00829, allocations: 0 / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008293, allocations: 8.031 kB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008297, allocations: 0 / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.008625, allocations: 244.4 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.008627, allocations: 0 / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.008675, allocations: 11.98 kB / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.008687, allocations: 7.938 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.028e-05/0.008778, allocations: 16.84 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.008788, allocations: 7.938 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007613/0.00955, allocations: 1.179 MB / 300 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.009553, allocations: 144 / 300 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.00972, allocations: 173.1 kB / 300.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.00973, allocations: 0 / 300.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.009805, allocations: 7.984 kB / 300.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.009846, allocations: 11.98 kB / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.009851, allocations: 0 / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.273e-05/0.009873, allocations: 24.77 kB / 300.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009874, allocations: 4.031 kB / 300.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.01012, allocations: 27.95 kB / 300.2 MB, free: 14.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.108e-05/0.01021, allocations: 72.42 kB / 300.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.01044, allocations: 139.6 kB / 300.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.01045, allocations: 7.922 kB / 300.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.01057, allocations: 147.4 kB / 300.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.01082, allocations: 76.59 kB / 300.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.01171, allocations: 214.8 kB / 300.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.746e-05/0.01176, allocations: 63.34 kB / 300.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.204e-05/0.01179, allocations: 4 kB / 300.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.01186, allocations: 55.38 kB / 301 MB, free: 13.51 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01186, allocations: 0 / 301 MB, free: 13.51 MB / 298.7 MB Notification: Performance of Templates: time 0.004213/0.01608, allocations: 1.176 MB / 302.1 MB, free: 12.35 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.068835945799947]