Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 110.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.191/2.191, allocations: 222.9 MB / 242.5 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4609/0.4609, allocations: 44.17 MB / 336.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 63.27 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.171, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.006877/0.1779, allocations: 2.505 MB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.1808, allocations: 1.028 MB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.1812, allocations: 4 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.1832, allocations: 485.3 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000603/0.1839, allocations: 91.52 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.1856, allocations: 0.6073 MB / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000638/0.1863, allocations: 211 kB / 474.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007713/0.1871, allocations: 222.9 kB / 474.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.1874, allocations: 103.6 kB / 474.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.1877, allocations: 115.5 kB / 474.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.1878, allocations: 16 kB / 474.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006267/0.1885, allocations: 143.9 kB / 474.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/0.1886, allocations: 43.73 kB / 474.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.1888, allocations: 119.5 kB / 474.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.1895, allocations: 303.5 kB / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1895, allocations: 0 / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1895, allocations: 0 / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1895, allocations: 0 / 475.1 MB, free: 8.867 MB / 350.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.002116/0.1916, allocations: 0.6164 MB / 475.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.1917, allocations: 8.031 kB / 475.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005516/0.1923, allocations: 52.61 kB / 475.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1925, allocations: 192 kB / 476 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.1926, allocations: 20.94 kB / 476 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.1927, allocations: 32.31 kB / 476 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1937, allocations: 291.7 kB / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.1938, allocations: 0 / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/0.1938, allocations: 8 kB / 476.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.1938, allocations: 8 kB / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/0.1948, allocations: 233.6 kB / 476.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.1972, allocations: 1.001 MB / 477.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/0.198, allocations: 387.2 kB / 478 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/0.1985, allocations: 129.7 kB / 478.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.1987, allocations: 89.09 kB / 478.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1988, allocations: 38.56 kB / 478.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.1988, allocations: 0 / 478.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001799/0.2006, allocations: 0.4923 MB / 478.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.2007, allocations: 85.11 kB / 478.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.2009, allocations: 145.7 kB / 478.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.2009, allocations: 29.7 kB / 479 MB, free: 4.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.201, allocations: 144.1 kB / 479.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.352e-05/0.2011, allocations: 67.02 kB / 479.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2013, allocations: 41.73 kB / 479.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2015, allocations: 322.8 kB / 479.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.2018, allocations: 67.95 kB / 479.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.2022, allocations: 127.7 kB / 479.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/0.2028, allocations: 213.2 kB / 479.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2028, allocations: 0 / 479.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009359/0.2038, allocations: 275 kB / 480.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.2038, allocations: 4.109 kB / 480.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.2039, allocations: 11.92 kB / 480.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.2042, allocations: 45.69 kB / 480.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.2045, allocations: 43.91 kB / 480.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.2078, allocations: 2.65 MB / 482.9 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.2081, allocations: 27.83 kB / 483 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.2081, allocations: 8 kB / 483 MB, free: 344 kB / 350.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.0002617/0.2084, allocations: 133.8 kB / 483.1 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.2085, allocations: 19.69 kB / 483.1 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000995/0.2095, allocations: 262.8 kB / 483.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2096, allocations: 4 kB / 483.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.2096, allocations: 0 / 483.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.2096, allocations: 15.88 kB / 483.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.2113, allocations: 0.6497 MB / 484 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2114, allocations: 64 / 484 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.2116, allocations: 31.98 kB / 484.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/0.2117, allocations: 49.69 kB / 484.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.2118, allocations: 4 kB / 484.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.2138, allocations: 2.635 MB / 486.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2138, allocations: 4.031 kB / 486.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009947/0.2148, allocations: 0.528 MB / 487.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.2149, allocations: 85.05 kB / 487.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.215, allocations: 8 kB / 487.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2152, allocations: 23.92 kB / 487.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.2152, allocations: 19.91 kB / 487.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2153, allocations: 8 kB / 487.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.025e-05/0.2154, allocations: 111.2 kB / 487.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2154, allocations: 0 / 487.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005275/0.2159, allocations: 75.77 kB / 487.6 MB, free: 11.28 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.0002417/0.2162, allocations: 115.8 kB / 487.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008597/0.217, allocations: 411.6 kB / 488.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.217, allocations: 0 / 488.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005315/0.2176, allocations: 341.6 kB / 488.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.2181, allocations: 8 kB / 488.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.2195, allocations: 0.5784 MB / 489.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.2201, allocations: 0.7399 MB / 489.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.2202, allocations: 19.44 kB / 489.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of SimCode: time 1.363e-06/0.2202, allocations: 3.938 kB / 489.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of Templates: time 0.01005/0.2302, allocations: 4.242 MB / 494.1 MB, free: 4.707 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches