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.0009522/0.0009522, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009956/0.0009956, allocations: 162.1 kB / 24.92 MB, free: 8.75 MB / 18.57 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 0.9981/0.9981, allocations: 177 MB / 205.2 MB, free: 5.422 MB / 186.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.2519/0.2519, allocations: 34.87 MB / 296.6 MB, free: 444 kB / 266.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.032e-06/1.032e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.107e-05, allocations: 3.625 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002651/0.002662, allocations: 2.483 MB / 328.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.003751, allocations: 1.083 MB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.003815, allocations: 12 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.004824, allocations: 0.5249 MB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.005162, allocations: 111.1 kB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.005796, allocations: 466 kB / 330.6 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.006041, allocations: 230.8 kB / 330.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.006358, allocations: 238.7 kB / 331 MB, free: 2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.006557, allocations: 155.6 kB / 331.2 MB, free: 1.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.006669, allocations: 91.77 kB / 331.3 MB, free: 1.758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.006694, allocations: 20 kB / 331.3 MB, free: 1.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.006948, allocations: 147.7 kB / 331.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.006982, allocations: 55.77 kB / 331.5 MB, free: 1.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.007041, allocations: 75.84 kB / 331.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.007389, allocations: 310.9 kB / 331.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.007391, allocations: 0 / 331.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007392, allocations: 0 / 331.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.007396, allocations: 0 / 331.8 MB, free: 1.156 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.000693/0.008089, allocations: 0.5404 MB / 332.4 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.008119, allocations: 15.97 kB / 332.4 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.008341, allocations: 88.8 kB / 332.5 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.403e-05/0.008425, allocations: 130.3 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.008441, allocations: 20.88 kB / 332.6 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.008472, allocations: 24.38 kB / 332.7 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.008688, allocations: 215.9 kB / 332.9 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.0087, allocations: 4.188 kB / 332.9 MB, free: 64 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.008716, allocations: 12.36 kB / 332.9 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.008723, allocations: 11.94 kB / 332.9 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.00882, allocations: 63.45 kB / 333 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.009546, allocations: 0.6545 MB / 333.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.009726, allocations: 150.2 kB / 333.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.009823, allocations: 69.91 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.249e-05/0.009905, allocations: 15.98 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.009931, allocations: 34.56 kB / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.009932, allocations: 0 / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003731/0.01031, allocations: 198.3 kB / 334.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.01033, allocations: 81.11 kB / 334.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.0104, allocations: 137.6 kB / 334.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.01041, allocations: 25.7 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.01046, allocations: 152.3 kB / 334.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.0105, allocations: 67.66 kB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.01054, allocations: 49.58 kB / 334.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.01062, allocations: 326.8 kB / 334.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.01064, allocations: 12 kB / 334.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.01069, allocations: 73.91 kB / 335 MB, free: 13.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/0.01078, allocations: 100.4 kB / 335.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01078, allocations: 8 kB / 335.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001587/0.01094, allocations: 151.1 kB / 335.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01095, allocations: 7.938 kB / 335.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01096, allocations: 4 kB / 335.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.01108, allocations: 49.62 kB / 335.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.01118, allocations: 36.17 kB / 335.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009916/0.01217, allocations: 2.353 MB / 337.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.01223, allocations: 19.88 kB / 337.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.01224, allocations: 11.94 kB / 337.7 MB, free: 10.87 MB / 314.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.277e-05/0.01232, allocations: 121.8 kB / 337.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.01235, allocations: 19.98 kB / 337.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.01252, allocations: 148 kB / 338 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01252, allocations: 4 kB / 338 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01252, allocations: 0 / 338 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01252, allocations: 0 / 338 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.01291, allocations: 368.6 kB / 338.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01291, allocations: 0 / 338.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.01298, allocations: 31.97 kB / 338.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.45e-05/0.01306, allocations: 41.64 kB / 338.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.01307, allocations: 7.938 kB / 338.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004325/0.01739, allocations: 2.361 MB / 340.8 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01739, allocations: 0 / 340.8 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.01774, allocations: 342.5 kB / 341.1 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.01776, allocations: 19.78 kB / 341.2 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.01778, allocations: 7.984 kB / 341.2 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.01792, allocations: 8 kB / 341.2 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.01798, allocations: 19.97 kB / 341.2 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01799, allocations: 8.047 kB / 341.2 MB, free: 7.117 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.01802, allocations: 28.84 kB / 341.2 MB, free: 7.086 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01802, allocations: 0 / 341.2 MB, free: 7.086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004875/0.01851, allocations: 75.81 kB / 341.3 MB, free: 7.012 MB / 314.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.0001904/0.0187, allocations: 116.3 kB / 341.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.01906, allocations: 321.9 kB / 341.7 MB, free: 6.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.01907, allocations: 4 kB / 341.7 MB, free: 6.543 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.01926, allocations: 278 kB / 342 MB, free: 6.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.01957, allocations: 18.42 kB / 342 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.02045, allocations: 437.9 kB / 342.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.02052, allocations: 76.22 kB / 342.5 MB, free: 5.668 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.945e-05/0.02059, allocations: 21.12 kB / 342.5 MB, free: 5.645 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.02066, allocations: 59.38 kB / 342.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02066, allocations: 0 / 342.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of Templates: time 0.01244/0.0331, allocations: 2.521 MB / 345.1 MB, free: 3.121 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1861348156817257]