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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.002527/0.002528, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 226.5 MB / 245.4 MB, free: 8.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007844/0.0007844, allocations: 107 kB / 297.5 MB, free: 6.844 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3822/0.3822, allocations: 44.81 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 12 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3753, allocations: 62.96 MB / 0.5184 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.5087, allocations: 91.11 MB / 0.6074 GB, free: 14.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5091, allocations: 91.92 kB / 0.6075 GB, free: 14.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02546/0.5345, allocations: 9.808 MB / 0.6171 GB, free: 4.156 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5346, allocations: 0 / 0.6171 GB, free: 4.156 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.5346, allocations: 4 kB / 0.6171 GB, free: 4.152 MB / 426.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.001246/0.5359, allocations: 0.5577 MB / 0.6176 GB, free: 3.547 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5359, allocations: 8.031 kB / 0.6176 GB, free: 3.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/0.5364, allocations: 60.61 kB / 0.6177 GB, free: 3.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.5366, allocations: 190.6 kB / 0.6179 GB, free: 3.258 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.5366, allocations: 20.94 kB / 0.6179 GB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.5367, allocations: 24.38 kB / 0.6179 GB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007613/0.5375, allocations: 299.7 kB / 0.6182 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5375, allocations: 0 / 0.6182 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.5376, allocations: 12 kB / 0.6182 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.5376, allocations: 4 kB / 0.6182 GB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.5383, allocations: 257.5 kB / 0.6184 GB, free: 2.641 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.5403, allocations: 1.021 MB / 0.6194 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.5408, allocations: 402.4 kB / 0.6198 GB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.5412, allocations: 141.6 kB / 0.62 GB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.5414, allocations: 178.1 kB / 0.6201 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5415, allocations: 30.56 kB / 0.6202 GB, free: 0.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.5415, allocations: 0 / 0.6202 GB, free: 0.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001274/0.5427, allocations: 0.5365 MB / 0.6207 GB, free: 124 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.5428, allocations: 89.14 kB / 0.6208 GB, free: 16 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.543, allocations: 145.3 kB / 0.6209 GB, free: 15.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.543, allocations: 29.7 kB / 0.6209 GB, free: 15.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.5432, allocations: 144 kB / 0.6211 GB, free: 15.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.5432, allocations: 59.11 kB / 0.6211 GB, free: 15.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.5432, allocations: 8 kB / 0.6211 GB, free: 15.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5434, allocations: 318.8 kB / 0.6214 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.5437, allocations: 87.94 kB / 0.6215 GB, free: 15.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.5439, allocations: 124.2 kB / 0.6216 GB, free: 15.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.5444, allocations: 204.2 kB / 0.6218 GB, free: 14.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5444, allocations: 4 kB / 0.6218 GB, free: 14.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006486/0.545, allocations: 302.8 kB / 0.6221 GB, free: 14.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5451, allocations: 8 kB / 0.6221 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5451, allocations: 0 / 0.6221 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.5453, allocations: 53.64 kB / 0.6222 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.5455, allocations: 52.05 kB / 0.6222 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.5478, allocations: 2.651 MB / 0.6248 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.548, allocations: 39.91 kB / 0.6249 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.548, allocations: 4 kB / 0.6249 GB, free: 11.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.5482, allocations: 138.7 kB / 0.625 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.5483, allocations: 19.75 kB / 0.625 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006657/0.5489, allocations: 287.1 kB / 0.6253 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.549, allocations: 4 kB / 0.6253 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.549, allocations: 4 kB / 0.6253 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.549, allocations: 7.922 kB / 0.6253 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.5502, allocations: 0.6794 MB / 0.626 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5503, allocations: 8.062 kB / 0.626 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.5504, allocations: 35.98 kB / 0.626 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.5506, allocations: 53.77 kB / 0.6261 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.5506, allocations: 0 / 0.6261 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.5526, allocations: 2.65 MB / 0.6287 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5526, allocations: 7.969 kB / 0.6287 GB, free: 7.227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000938/0.5536, allocations: 0.5469 MB / 0.6292 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/0.5537, allocations: 92.86 kB / 0.6293 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.5537, allocations: 4 kB / 0.6293 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.5539, allocations: 35.91 kB / 0.6293 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.554, allocations: 15.98 kB / 0.6293 GB, free: 6.488 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.554, allocations: 4 kB / 0.6293 GB, free: 6.484 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.5541, allocations: 115.2 kB / 0.6294 GB, free: 6.371 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5541, allocations: 0 / 0.6294 GB, free: 6.371 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005596/0.5547, allocations: 79.78 kB / 0.6295 GB, free: 6.293 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003091/0.555, allocations: 127.2 kB / 0.6296 GB, free: 6.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009113/0.5559, allocations: 445.2 kB / 0.6301 GB, free: 5.699 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.556, allocations: 4.062 kB / 0.6301 GB, free: 5.695 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.5564, allocations: 329.3 kB / 0.6304 GB, free: 5.348 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.5568, allocations: 17.88 kB / 0.6304 GB, free: 5.332 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.5578, allocations: 0.5706 MB / 0.631 GB, free: 4.727 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.5582, allocations: 0.7399 MB / 0.6317 GB, free: 3.957 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.5583, allocations: 17.42 kB / 0.6317 GB, free: 3.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.5584, allocations: 15.44 kB / 0.6317 GB, free: 3.926 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5584, allocations: 0 / 0.6317 GB, free: 3.926 MB / 442.7 MB Notification: Performance of Templates: time 0.006279/0.5647, allocations: 2.177 MB / 0.6338 GB, free: 1.754 MB / 442.7 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","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches