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.001649/0.001649, allocations: 84.78 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00199/0.00199, allocations: 168.4 kB / 23.96 MB, free: 4.145 MB / 14.72 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.526/1.526, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2283/0.2283, allocations: 34.29 MB / 295 MB, free: 14.56 MB / 286.1 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.643e-06/1.643e-06, allocations: 0 / 442.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.788e-05, allocations: 2.281 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004008/0.004036, allocations: 2.373 MB / 445 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.006103, allocations: 1.028 MB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.006208, allocations: 4 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.007599, allocations: 0.4931 MB / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.007905, allocations: 111.2 kB / 446.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.008915, allocations: 450.1 kB / 447.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000387/0.009302, allocations: 230.9 kB / 447.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004909/0.009793, allocations: 218.7 kB / 447.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.01006, allocations: 147.7 kB / 447.7 MB, free: 364 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.01022, allocations: 91.77 kB / 447.8 MB, free: 272 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.01026, allocations: 23.94 kB / 447.8 MB, free: 248 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.01061, allocations: 143.8 kB / 447.9 MB, free: 104 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.01066, allocations: 47.78 kB / 448 MB, free: 56 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1965/0.2072, allocations: 77.97 kB / 448.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006847/0.2079, allocations: 414.7 kB / 448.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2079, allocations: 0.5625 kB / 448.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2079, allocations: 0 / 448.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.2079, allocations: 2.938 kB / 448.5 MB, free: 15.62 MB / 366.1 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.001241/0.2091, allocations: 0.5491 MB / 449 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2092, allocations: 11.31 kB / 449 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/0.2095, allocations: 48.86 kB / 449.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.958e-05/0.2096, allocations: 132 kB / 449.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.2096, allocations: 19.77 kB / 449.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.2097, allocations: 25.45 kB / 449.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.2103, allocations: 294.8 kB / 449.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2103, allocations: 2.812 kB / 449.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.2103, allocations: 9.469 kB / 449.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2103, allocations: 10.22 kB / 449.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/0.2109, allocations: 237.6 kB / 449.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.2121, allocations: 0.8199 MB / 450.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.2125, allocations: 202.3 kB / 450.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.2129, allocations: 128.1 kB / 450.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.213, allocations: 12.7 kB / 450.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.213, allocations: 38.12 kB / 451 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.213, allocations: 0.5 kB / 451 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001111/0.2141, allocations: 359.1 kB / 451.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.2141, allocations: 79.64 kB / 451.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.2142, allocations: 125 kB / 451.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.2142, allocations: 28.5 kB / 451.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.2143, allocations: 146.1 kB / 451.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.2143, allocations: 70.72 kB / 451.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.2144, allocations: 40.58 kB / 451.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.2144, allocations: 327.4 kB / 452.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.2146, allocations: 70.22 kB / 452.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.2149, allocations: 126 kB / 452.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.2153, allocations: 211.5 kB / 452.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2153, allocations: 0 / 452.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006036/0.2159, allocations: 274.6 kB / 452.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2159, allocations: 5.625 kB / 452.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.2159, allocations: 4.516 kB / 452.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.2161, allocations: 50.94 kB / 452.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2163, allocations: 44.3 kB / 452.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.2177, allocations: 2.588 MB / 455.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.2178, allocations: 24.12 kB / 455.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2178, allocations: 10.3 kB / 455.5 MB, free: 11.01 MB / 366.1 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.882e-05/0.2179, allocations: 134.3 kB / 455.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.218, allocations: 19.98 kB / 455.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/0.2186, allocations: 260 kB / 455.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.2186, allocations: 4.172 kB / 455.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2186, allocations: 1.375 kB / 455.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2186, allocations: 6.781 kB / 455.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009434/0.2196, allocations: 0.5511 MB / 456.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2196, allocations: 1.312 kB / 456.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.2197, allocations: 36.64 kB / 456.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.2199, allocations: 46.42 kB / 456.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.2199, allocations: 13.53 kB / 456.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.2211, allocations: 2.593 MB / 459.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2211, allocations: 1.344 kB / 459.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008542/0.2219, allocations: 0.5229 MB / 459.7 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.222, allocations: 14.83 kB / 459.7 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.222, allocations: 6.125 kB / 459.7 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2222, allocations: 16.44 kB / 459.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.2222, allocations: 20.58 kB / 459.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2223, allocations: 5.203 kB / 459.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.726e-05/0.2223, allocations: 100.2 kB / 459.9 MB, free: 7.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2223, allocations: 4.062 kB / 459.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.2227, allocations: 76.55 kB / 459.9 MB, free: 7.336 MB / 366.1 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.0002284/0.223, allocations: 127 kB / 460.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006889/0.2237, allocations: 413.2 kB / 460.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2237, allocations: 0 / 460.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.224, allocations: 320 kB / 460.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.2244, allocations: 13.7 kB / 460.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.2251, allocations: 433 kB / 461.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2252, allocations: 133 kB / 461.3 MB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.5e-05/0.2253, allocations: 14.45 kB / 461.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.2253, allocations: 16.2 kB / 461.4 MB, free: 6.312 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2253, allocations: 0 / 461.4 MB, free: 6.312 MB / 366.1 MB Notification: Performance of Templates: time 0.00676/0.2321, allocations: 2.379 MB / 463.8 MB, free: 6.031 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2360130324959755]