Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.0008439/0.0008439, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004045/0.004045, allocations: 164.1 kB / 24.7 MB, free: 8.891 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 0.8889/0.8889, allocations: 177.1 MB / 205 MB, free: 5.738 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.2689/0.2689, allocations: 34.25 MB / 295.7 MB, free: 0.6875 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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.093e-05, allocations: 4.25 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.1929/0.1929, allocations: 1.7 MB / 445.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001385/0.193, allocations: 85.45 kB / 445.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.1931, allocations: 4.438 kB / 445.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.1931, allocations: 13.55 kB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.1932, allocations: 26.25 kB / 445.2 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.42e-05/0.1933, allocations: 29.22 kB / 445.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.1933, allocations: 111 kB / 445.4 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1935, allocations: 40.39 kB / 445.4 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.1936, allocations: 58.17 kB / 445.5 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.7e-05/0.1936, allocations: 39.91 kB / 445.5 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1936, allocations: 10.41 kB / 445.5 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.1936, allocations: 11.41 kB / 445.5 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.1937, allocations: 25.39 kB / 445.6 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.1937, allocations: 39.45 kB / 445.6 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.1938, allocations: 120.3 kB / 445.7 MB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1938, allocations: 0 / 445.7 MB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1938, allocations: 0 / 445.7 MB, free: 43.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1938, allocations: 0 / 445.7 MB, free: 43.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004006/0.1942, allocations: 349.5 kB / 446.1 MB, free: 43.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1942, allocations: 9.75 kB / 446.1 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.1943, allocations: 10.8 kB / 446.1 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.736e-05/0.1943, allocations: 119.7 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1944, allocations: 13.09 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1944, allocations: 6.281 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1946, allocations: 126.4 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.1946, allocations: 192 / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1946, allocations: 4.062 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1946, allocations: 3.312 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.1947, allocations: 111.3 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.1952, allocations: 387.7 kB / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1953, allocations: 78.95 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.1955, allocations: 64.52 kB / 447 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1955, allocations: 2.906 kB / 447 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.1955, allocations: 30.56 kB / 447 MB, free: 42.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1955, allocations: 0 / 447 MB, free: 42.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004433/0.1959, allocations: 190.8 kB / 447.2 MB, free: 42.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.1959, allocations: 55.34 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.894e-05/0.196, allocations: 117.8 kB / 447.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.196, allocations: 25.7 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.196, allocations: 112 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.196, allocations: 18.61 kB / 447.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.1961, allocations: 31.11 kB / 447.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.567e-05/0.1961, allocations: 310.8 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.1962, allocations: 42.34 kB / 447.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.1962, allocations: 56.05 kB / 447.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1964, allocations: 97.44 kB / 448 MB, free: 42.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1964, allocations: 0 / 448 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001909/0.1966, allocations: 153.5 kB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1966, allocations: 5.844 kB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1966, allocations: 64 / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/0.1967, allocations: 28.25 kB / 448.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.1968, allocations: 18.23 kB / 448.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004597/0.1972, allocations: 1.27 MB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1973, allocations: 27.28 kB / 449.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.1973, allocations: 0 / 449.5 MB, free: 40.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.1973, allocations: 120.5 kB / 449.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.1973, allocations: 6.734 kB / 449.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.896e-06/0.1973, allocations: 14.38 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.52e-07/0.1973, allocations: 0 / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1973, allocations: 3.938 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1973, allocations: 0 / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.1976, allocations: 369.5 kB / 450 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1976, allocations: 0 / 450 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.1977, allocations: 20.81 kB / 450.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-05/0.1977, allocations: 23.14 kB / 450.1 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1977, allocations: 2.5 kB / 450.1 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003305/0.198, allocations: 1.268 MB / 451.3 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.198, allocations: 2.594 kB / 451.3 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.1982, allocations: 241.8 kB / 451.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-06/0.1982, allocations: 0 / 451.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-06/0.1982, allocations: 10.81 kB / 451.6 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.012e-05/0.1983, allocations: 20.2 kB / 451.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1983, allocations: 11.75 kB / 451.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1983, allocations: 0 / 451.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.972e-05/0.1983, allocations: 94.75 kB / 451.7 MB, free: 38.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1983, allocations: 4 kB / 451.7 MB, free: 38.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.1985, allocations: 31.23 kB / 451.8 MB, free: 38.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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 6.82e-05/0.1986, allocations: 93.16 kB / 451.8 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.1988, allocations: 204.7 kB / 452 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1988, allocations: 4.125 kB / 452 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.1989, allocations: 152.5 kB / 452.2 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1992, allocations: 6.875 kB / 452.2 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.1994, allocations: 241.7 kB / 452.4 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.1995, allocations: 85.02 kB / 452.5 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.1995, allocations: 15.41 kB / 452.5 MB, free: 38.15 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1995, allocations: 0 / 452.5 MB, free: 38.15 MB / 410.7 MB Notification: Performance of Templates: time 0.002123/0.2016, allocations: 1.624 MB / 454.2 MB, free: 38.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.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: 4.792171852663159]