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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.292/2.292, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3909/0.3909, allocations: 46.11 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 85.28 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1806, allocations: 62.44 MB / 480.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.006984/0.1876, allocations: 2.525 MB / 482.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.1907, allocations: 1.075 MB / 483.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.191, allocations: 8 kB / 483.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.1933, allocations: 478.2 kB / 484.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006967/0.194, allocations: 83.52 kB / 484.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.1958, allocations: 458.4 kB / 484.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005851/0.1964, allocations: 227 kB / 485 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009718/0.1974, allocations: 274.5 kB / 485.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.1978, allocations: 107.6 kB / 485.3 MB, free: 412 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.1981, allocations: 123.5 kB / 485.5 MB, free: 288 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.366e-05/0.1982, allocations: 24 kB / 485.5 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005914/0.1988, allocations: 155.8 kB / 485.6 MB, free: 108 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.1989, allocations: 51.84 kB / 485.7 MB, free: 56 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.1991, allocations: 119.4 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.1997, allocations: 303.6 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1997, allocations: 0 / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1997, allocations: 3.938 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1997, allocations: 0 / 486.1 MB, free: 15.64 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.002254/0.202, allocations: 0.6203 MB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.2021, allocations: 8.031 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006845/0.2028, allocations: 48.62 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.203, allocations: 192 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.2031, allocations: 20.94 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.2032, allocations: 24.38 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.2042, allocations: 303.7 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.2043, allocations: 0 / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.2043, allocations: 12 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.2043, allocations: 4 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.2054, allocations: 221.6 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.2082, allocations: 1.009 MB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/0.209, allocations: 386.9 kB / 488.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/0.2095, allocations: 137.7 kB / 489.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.2098, allocations: 170.2 kB / 489.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.2099, allocations: 38.56 kB / 489.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 3.617e-06/0.2099, allocations: 0 / 489.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001831/0.2117, allocations: 0.4919 MB / 489.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.2118, allocations: 89.14 kB / 489.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.212, allocations: 140 kB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.2121, allocations: 29.7 kB / 490 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.2122, allocations: 144.1 kB / 490.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.2123, allocations: 63.02 kB / 490.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2124, allocations: 37.7 kB / 490.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2126, allocations: 326.8 kB / 490.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.2129, allocations: 67.95 kB / 490.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.2134, allocations: 129.7 kB / 490.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.214, allocations: 204.8 kB / 491 MB, free: 10.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2141, allocations: 4 kB / 491 MB, free: 10.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001028/0.2151, allocations: 271 kB / 491.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.2152, allocations: 4 kB / 491.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.2152, allocations: 16.11 kB / 491.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003152/0.2155, allocations: 49.7 kB / 491.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.2158, allocations: 43.91 kB / 491.3 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.2189, allocations: 2.848 MB / 494.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.2192, allocations: 27.81 kB / 494.2 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.2193, allocations: 8 kB / 494.2 MB, free: 6.801 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 0.0002178/0.2195, allocations: 145.8 kB / 494.4 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.2196, allocations: 15.81 kB / 494.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.2207, allocations: 264.2 kB / 494.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2207, allocations: 0 / 494.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2207, allocations: 4 kB / 494.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2207, allocations: 3.984 kB / 494.7 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.2226, allocations: 0.642 MB / 495.3 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.2226, allocations: 4.047 kB / 495.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.2229, allocations: 39.84 kB / 495.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002049/0.2231, allocations: 53.69 kB / 495.4 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.2231, allocations: 4.062 kB / 495.4 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.2261, allocations: 2.848 MB / 498.2 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2261, allocations: 0 / 498.2 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.2276, allocations: 0.5136 MB / 498.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-05/0.2277, allocations: 92.95 kB / 498.8 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.2278, allocations: 4 kB / 498.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.2282, allocations: 15.97 kB / 498.9 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.2283, allocations: 31.92 kB / 498.9 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.2284, allocations: 8 kB / 498.9 MB, free: 1.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.2285, allocations: 113.4 kB / 499 MB, free: 1.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2285, allocations: 0 / 499 MB, free: 1.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008301/0.2294, allocations: 71.78 kB / 499.1 MB, free: 1.52 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.0003272/0.2297, allocations: 119.2 kB / 499.2 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.2311, allocations: 416.1 kB / 499.6 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2311, allocations: 4 kB / 499.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000745/0.2319, allocations: 329.3 kB / 499.9 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.2327, allocations: 18.17 kB / 500 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.2343, allocations: 0.5861 MB / 0.4888 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.2348, allocations: 0.7359 MB / 0.4895 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.331e-05/0.2349, allocations: 15.44 kB / 0.4895 GB, free: 15.19 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.235, allocations: 7.938 kB / 0.4896 GB, free: 15.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01102/0.246, allocations: 4.29 MB / 0.4937 GB, free: 10.89 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches