Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.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.001614/0.001614, allocations: 77.88 kB / 21.42 MB, free: 3.082 MB / 18.57 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.001432/0.001432, allocations: 170.6 kB / 24.82 MB, free: 8.957 MB / 18.57 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.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.3044/0.3044, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.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.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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.374e-05, allocations: 2.312 kB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003013/0.003037, allocations: 2.474 MB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004242, allocations: 1.067 MB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.004324, allocations: 4 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007933/0.005117, allocations: 0.5133 MB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.005352, allocations: 111.1 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.005944, allocations: 454.1 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.006193, allocations: 233.8 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.006517, allocations: 218.7 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.006739, allocations: 139.8 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.00685, allocations: 95.7 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.006877, allocations: 20 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.007151, allocations: 155.7 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.007186, allocations: 51.83 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.00724, allocations: 75.83 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.007586, allocations: 310.9 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.007589, allocations: 0 / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.00759, allocations: 0 / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.007595, allocations: 0 / 384.4 MB, free: 12.5 MB / 362.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.0007695/0.008364, allocations: 0.6481 MB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.008401, allocations: 8.031 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.008642, allocations: 84.7 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.453e-05/0.008736, allocations: 140.2 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.008753, allocations: 20.88 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.008785, allocations: 24.38 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.009062, allocations: 225.6 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.009075, allocations: 192 / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.009092, allocations: 12.38 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.009101, allocations: 7.938 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.871e-05/0.0092, allocations: 83.3 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.01007, allocations: 0.8714 MB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.01026, allocations: 170.1 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.01036, allocations: 75.39 kB / 386.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.66e-05/0.01045, allocations: 31.89 kB / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.01047, allocations: 41.39 kB / 386.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.01047, allocations: 0 / 386.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.000685/0.01116, allocations: 219.3 kB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.01119, allocations: 85.05 kB / 387.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.01128, allocations: 185.9 kB / 387.3 MB, free: 9.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.01129, allocations: 25.7 kB / 387.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.01136, allocations: 203 kB / 387.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.0114, allocations: 67.36 kB / 387.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.01145, allocations: 55.33 kB / 387.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.01155, allocations: 0.5 MB / 388.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.01158, allocations: 19.98 kB / 388.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.01165, allocations: 93.77 kB / 388.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.01175, allocations: 125.7 kB / 388.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01175, allocations: 0 / 388.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002134/0.01197, allocations: 188.7 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.01198, allocations: 7.938 kB / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01199, allocations: 4 kB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.01214, allocations: 47.34 kB / 388.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.01223, allocations: 35.92 kB / 388.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.01377, allocations: 3.485 MB / 392.1 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.01383, allocations: 19.88 kB / 392.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.01384, allocations: 8 kB / 392.1 MB, free: 4.168 MB / 362.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 9.221e-05/0.01393, allocations: 160.8 kB / 392.3 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.01397, allocations: 27.89 kB / 392.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.01418, allocations: 169.5 kB / 392.5 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01419, allocations: 0 / 392.5 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01419, allocations: 4.141 kB / 392.5 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01419, allocations: 3.984 kB / 392.5 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.01468, allocations: 0.4959 MB / 393 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01469, allocations: 4.031 kB / 393 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/0.01476, allocations: 35.86 kB / 393 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.394e-05/0.01485, allocations: 47.34 kB / 393.1 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.01486, allocations: 0 / 393.1 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.01648, allocations: 3.486 MB / 396.6 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01648, allocations: 3.938 kB / 396.6 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.01677, allocations: 468.6 kB / 397 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.01679, allocations: 15.91 kB / 397 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.0168, allocations: 8 kB / 397 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.01688, allocations: 11.98 kB / 397 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.01692, allocations: 23.91 kB / 397.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.01693, allocations: 4 kB / 397.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.373e-05/0.01697, allocations: 138.3 kB / 397.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01697, allocations: 4.062 kB / 397.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000317/0.01729, allocations: 75.83 kB / 397.3 MB, free: 14.66 MB / 378.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.0001778/0.01747, allocations: 127.1 kB / 397.4 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.01779, allocations: 445.3 kB / 397.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01779, allocations: 0 / 397.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.01794, allocations: 395.3 kB / 398.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01818, allocations: 19.98 kB / 398.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.01888, allocations: 460.5 kB / 398.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.802e-05/0.01893, allocations: 84.2 kB / 398.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.317e-05/0.01897, allocations: 9.156 kB / 398.8 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.01904, allocations: 94.12 kB / 398.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.01904, allocations: 0 / 398.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of Templates: time 0.004906/0.02395, allocations: 2.652 MB / 401.5 MB, free: 10.28 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.3005750286392868]