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.001648/0.001648, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.00187/0.00187, allocations: 162.1 kB / 25.61 MB, free: 8.586 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.8718/0.8718, allocations: 177 MB / 205.9 MB, free: 4.438 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.16/0.16, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.523e-06/1.523e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.631e-05, allocations: 6.312 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00254/0.002566, allocations: 2.465 MB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.003627, allocations: 1.063 MB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.003703, allocations: 4 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.00434, allocations: 0.5132 MB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.004563, allocations: 115.1 kB / 384.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.005015, allocations: 450.1 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.005197, allocations: 234.9 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.005444, allocations: 218.7 kB / 385 MB, free: 17.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.005591, allocations: 143.8 kB / 385.2 MB, free: 17.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.615e-05/0.005677, allocations: 99.7 kB / 385.3 MB, free: 17.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.005697, allocations: 24 kB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.005884, allocations: 147.7 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.005906, allocations: 51.77 kB / 385.5 MB, free: 17.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.005947, allocations: 75.84 kB / 385.6 MB, free: 17.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.006188, allocations: 307 kB / 385.9 MB, free: 16.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.00619, allocations: 4 kB / 385.9 MB, free: 16.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006191, allocations: 3.938 kB / 385.9 MB, free: 16.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.006194, allocations: 0 / 385.9 MB, free: 16.85 MB / 314.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.0006035/0.006798, allocations: 0.6403 MB / 386.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.006832, allocations: 12.03 kB / 386.5 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.007048, allocations: 84.64 kB / 386.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.005e-05/0.007129, allocations: 136.3 kB / 386.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.007145, allocations: 20.88 kB / 386.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.007175, allocations: 28.36 kB / 386.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.007391, allocations: 221.6 kB / 387 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.007404, allocations: 192 / 387 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.007419, allocations: 12.38 kB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.007426, allocations: 7.938 kB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.803e-05/0.007514, allocations: 79.36 kB / 387.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007161/0.00823, allocations: 0.8791 MB / 388 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.008396, allocations: 170.1 kB / 388.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.008485, allocations: 75.39 kB / 388.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-05/0.008556, allocations: 19.98 kB / 388.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.008575, allocations: 41.33 kB / 388.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.008577, allocations: 0 / 388.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003696/0.008946, allocations: 222.7 kB / 388.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.008964, allocations: 81.11 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.009019, allocations: 185 kB / 388.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.009029, allocations: 29.7 kB / 388.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.009074, allocations: 199 kB / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.0091, allocations: 71.36 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.009141, allocations: 43.34 kB / 389.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.009184, allocations: 0.504 MB / 389.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.00921, allocations: 19.98 kB / 389.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.009256, allocations: 98.77 kB / 389.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.193e-05/0.009348, allocations: 125.7 kB / 389.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00935, allocations: 0 / 389.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001749/0.009525, allocations: 190.1 kB / 390 MB, free: 12.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.009535, allocations: 7.938 kB / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.009542, allocations: 4 kB / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.009667, allocations: 47.34 kB / 390.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.009752, allocations: 31.98 kB / 390.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009807/0.01073, allocations: 3.486 MB / 393.6 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.0108, allocations: 27.83 kB / 393.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.01081, allocations: 8 kB / 393.6 MB, free: 8.535 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 8.837e-05/0.0109, allocations: 164.5 kB / 393.8 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.01094, allocations: 20.02 kB / 393.8 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.01113, allocations: 167.6 kB / 394 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01113, allocations: 4 kB / 394 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01114, allocations: 0 / 394 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01114, allocations: 0 / 394 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.01156, allocations: 0.4984 MB / 394.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01156, allocations: 176 / 394.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.01163, allocations: 43.8 kB / 394.5 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.803e-05/0.01172, allocations: 47.34 kB / 394.6 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.01173, allocations: 8 kB / 394.6 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007555/0.01248, allocations: 3.472 MB / 398 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01249, allocations: 8 kB / 398.1 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.01272, allocations: 475.4 kB / 398.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.01273, allocations: 19.89 kB / 398.5 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.01274, allocations: 0 / 398.5 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.01282, allocations: 15.98 kB / 398.6 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.01287, allocations: 19.91 kB / 398.6 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.01288, allocations: 4 kB / 398.6 MB, free: 3.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.821e-05/0.0129, allocations: 135.2 kB / 398.7 MB, free: 3.109 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0129, allocations: 0 / 398.7 MB, free: 3.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000325/0.01323, allocations: 79.81 kB / 398.8 MB, free: 3.031 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.0001671/0.0134, allocations: 127.1 kB / 398.9 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.01368, allocations: 444.8 kB / 399.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01369, allocations: 0 / 399.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.01381, allocations: 399.2 kB / 399.7 MB, free: 1.996 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01408, allocations: 19.98 kB / 399.8 MB, free: 1.977 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.01475, allocations: 439.9 kB / 400.2 MB, free: 1.508 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.38e-05/0.01479, allocations: 80.2 kB / 400.3 MB, free: 1.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.484e-05/0.01484, allocations: 13.16 kB / 400.3 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.01489, allocations: 86.19 kB / 400.4 MB, free: 1.312 MB / 314.7 MB Notification: Performance of SimCode: time 1.001e-06/0.01489, allocations: 4 kB / 400.4 MB, free: 1.309 MB / 314.7 MB Notification: Performance of Templates: time 0.005002/0.0199, allocations: 2.706 MB / 403.1 MB, free: 14.66 MB / 330.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.225156175903976]