Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.0006522/0.0006522, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00093/0.001582, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006822/0.0006822, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008628/0.001545, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.012/1.012, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09769/1.11, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.2472/0.2472, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02422/0.2714, allocations: 13.24 MB / 292.8 MB, free: 6.391 MB / 282.7 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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.419e-05, allocations: 4.984 kB / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004469/0.004493, allocations: 2.537 MB / 296.6 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.006325, allocations: 1.087 MB / 297.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.006438, allocations: 4 kB / 297.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.00746, allocations: 0.5249 MB / 298.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.007825, allocations: 115.1 kB / 298.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008388/0.008664, allocations: 458 kB / 298.8 MB, free: 376 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.008997, allocations: 230.9 kB / 299 MB, free: 144 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.009525, allocations: 225.5 kB / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.009794, allocations: 159.6 kB / 299.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.009947, allocations: 91.77 kB / 299.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.009986, allocations: 28 kB / 299.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.01035, allocations: 155.7 kB / 299.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.01039, allocations: 35.88 kB / 299.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.01047, allocations: 63.88 kB / 299.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.0109, allocations: 287 kB / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.01091, allocations: 0 / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01091, allocations: 0 / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.01092, allocations: 0 / 300 MB, free: 15.11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001169/0.01209, allocations: 0.6582 MB / 300.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.01214, allocations: 11.44 kB / 300.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.01251, allocations: 88.77 kB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.01265, allocations: 137.5 kB / 300.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.01267, allocations: 16.81 kB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.01272, allocations: 24.38 kB / 301 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.01306, allocations: 220 kB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.01308, allocations: 192 / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.0131, allocations: 12.38 kB / 301.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.01311, allocations: 7.938 kB / 301.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.01325, allocations: 87.31 kB / 301.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.01429, allocations: 0.6506 MB / 301.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.01448, allocations: 148.9 kB / 302.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.01458, allocations: 72.3 kB / 302.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.674e-05/0.01467, allocations: 23.86 kB / 302.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.01469, allocations: 38.56 kB / 302.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.01469, allocations: 3.938 kB / 302.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003689/0.01506, allocations: 188 kB / 302.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.0151, allocations: 77.11 kB / 302.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.01517, allocations: 130.6 kB / 302.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.01518, allocations: 33.83 kB / 302.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.01547, allocations: 144.3 kB / 302.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.01551, allocations: 67.42 kB / 302.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.01555, allocations: 41.69 kB / 302.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.01562, allocations: 326.7 kB / 303.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.01565, allocations: 16 kB / 303.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.0157, allocations: 73.91 kB / 303.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.01579, allocations: 113.8 kB / 303.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01579, allocations: 0 / 303.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001591/0.01595, allocations: 141.5 kB / 303.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01597, allocations: 11.94 kB / 303.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01597, allocations: 0 / 303.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.01611, allocations: 53.8 kB / 303.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.01621, allocations: 35.98 kB / 303.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.01724, allocations: 2.368 MB / 306 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.0173, allocations: 19.94 kB / 306 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.01731, allocations: 11.94 kB / 306.1 MB, free: 8.668 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.53e-05/0.01739, allocations: 129.9 kB / 306.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.01741, allocations: 15.92 kB / 306.2 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.01759, allocations: 137.2 kB / 306.3 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01759, allocations: 4 kB / 306.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.0176, allocations: 0 / 306.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.0176, allocations: 8 kB / 306.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.01799, allocations: 362 kB / 306.7 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.01799, allocations: 7.984 kB / 306.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.01806, allocations: 35.92 kB / 306.7 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.01808, allocations: 15.83 kB / 306.8 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-05/0.01816, allocations: 41.72 kB / 306.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.01817, allocations: 8 kB / 306.8 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008699/0.01904, allocations: 2.356 MB / 309.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.01904, allocations: 4 kB / 309.2 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.01927, allocations: 348.8 kB / 309.5 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.01928, allocations: 8 kB / 309.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.01936, allocations: 4 kB / 309.5 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.0194, allocations: 32.05 kB / 309.5 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.01941, allocations: 7.938 kB / 309.6 MB, free: 4.898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.961e-05/0.01943, allocations: 17.97 kB / 309.6 MB, free: 4.879 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01943, allocations: 0 / 309.6 MB, free: 4.879 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.0197, allocations: 75.78 kB / 309.6 MB, free: 4.805 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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 0.0003483/0.02004, allocations: 109.9 kB / 309.8 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.02032, allocations: 323.5 kB / 310.1 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.02033, allocations: 4 kB / 310.1 MB, free: 4.344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.02047, allocations: 290.7 kB / 310.4 MB, free: 4.031 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.02071, allocations: 83.42 kB / 310.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.02281, allocations: 444.1 kB / 310.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.191e-05/0.02287, allocations: 80.16 kB / 310.9 MB, free: 3.367 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.951e-05/0.02292, allocations: 17.17 kB / 311 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.02297, allocations: 67.38 kB / 311 MB, free: 3.281 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02297, allocations: 0 / 311 MB, free: 3.281 MB / 298.7 MB Notification: Performance of Templates: time 0.004365/0.02734, allocations: 2.525 MB / 313.6 MB, free: 0.8164 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/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.029438224621117]