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.001004/0.001004, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 227.2 MB / 245 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008259/0.0008258, allocations: 100.3 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2961/0.2961, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002545, allocations: 4 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3392, allocations: 63.25 MB / 0.5192 GB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4554, allocations: 91.24 MB / 0.6083 GB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4556, allocations: 79.95 kB / 0.6084 GB, free: 14.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02312/0.4788, allocations: 9.844 MB / 0.618 GB, free: 4.379 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4788, allocations: 0 / 0.618 GB, free: 4.379 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.4788, allocations: 4 kB / 0.618 GB, free: 4.375 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.001189/0.48, allocations: 0.5654 MB / 0.6185 GB, free: 3.762 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4801, allocations: 8.031 kB / 0.6185 GB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.4804, allocations: 55.67 kB / 0.6186 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.4806, allocations: 194.6 kB / 0.6188 GB, free: 3.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.4806, allocations: 16.56 kB / 0.6188 GB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.4807, allocations: 27.94 kB / 0.6188 GB, free: 3.426 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.4813, allocations: 295.4 kB / 0.6191 GB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4813, allocations: 0 / 0.6191 GB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.4814, allocations: 12 kB / 0.6191 GB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4814, allocations: 4 kB / 0.6191 GB, free: 3.109 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.482, allocations: 261.5 kB / 0.6194 GB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.4838, allocations: 1.015 MB / 0.6204 GB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.4843, allocations: 391.4 kB / 0.6207 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.4846, allocations: 166.2 kB / 0.6209 GB, free: 1.133 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.4846, allocations: 46.48 kB / 0.6209 GB, free: 1.078 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/0.4846, allocations: 0 / 0.6209 GB, free: 1.078 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001225/0.4859, allocations: 0.5271 MB / 0.6215 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.486, allocations: 85.14 kB / 0.6215 GB, free: 412 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4861, allocations: 131.6 kB / 0.6217 GB, free: 276 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.4861, allocations: 33.7 kB / 0.6217 GB, free: 236 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4862, allocations: 140.1 kB / 0.6218 GB, free: 92 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.4863, allocations: 66.95 kB / 0.6219 GB, free: 24 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.4863, allocations: 4 kB / 0.6219 GB, free: 20 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.4866, allocations: 326.8 kB / 0.6222 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.4868, allocations: 83.95 kB / 0.6223 GB, free: 15.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.4871, allocations: 121.2 kB / 0.6224 GB, free: 15.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.4874, allocations: 91.97 kB / 0.6225 GB, free: 15.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4874, allocations: 4 kB / 0.6225 GB, free: 15.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007426/0.4881, allocations: 303 kB / 0.6228 GB, free: 15.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.4882, allocations: 4 kB / 0.6228 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4882, allocations: 0 / 0.6228 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.4885, allocations: 53.62 kB / 0.6228 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.4887, allocations: 48.06 kB / 0.6229 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.4907, allocations: 2.662 MB / 0.6255 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.4909, allocations: 35.98 kB / 0.6255 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.491, allocations: 4 kB / 0.6255 GB, free: 12 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.0001884/0.4912, allocations: 143.1 kB / 0.6257 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.4912, allocations: 11.91 kB / 0.6257 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006804/0.4919, allocations: 295.2 kB / 0.6259 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4919, allocations: 8 kB / 0.626 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4919, allocations: 0 / 0.626 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.492, allocations: 112 / 0.626 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.4931, allocations: 0.6598 MB / 0.6266 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4931, allocations: 3.984 kB / 0.6266 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.4933, allocations: 43.91 kB / 0.6266 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.4934, allocations: 45.7 kB / 0.6267 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.4935, allocations: 8 kB / 0.6267 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.4953, allocations: 2.659 MB / 0.6293 GB, free: 7.777 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4954, allocations: 0 / 0.6293 GB, free: 7.777 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.4963, allocations: 0.5552 MB / 0.6298 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.4964, allocations: 96.95 kB / 0.6299 GB, free: 7.082 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.4964, allocations: 8 kB / 0.6299 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.4966, allocations: 24.44 kB / 0.63 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.4967, allocations: 15.98 kB / 0.63 GB, free: 7.035 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.4967, allocations: 7.984 kB / 0.63 GB, free: 7.027 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.002e-05/0.4968, allocations: 106.4 kB / 0.6301 GB, free: 6.926 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4968, allocations: 0 / 0.6301 GB, free: 6.926 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004506/0.4972, allocations: 87.78 kB / 0.6302 GB, free: 6.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0002381/0.4975, allocations: 144.1 kB / 0.6303 GB, free: 6.691 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007441/0.4982, allocations: 444.3 kB / 0.6307 GB, free: 6.234 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4982, allocations: 0 / 0.6307 GB, free: 6.234 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.4986, allocations: 341.3 kB / 0.6311 GB, free: 5.875 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.4989, allocations: 8 kB / 0.6311 GB, free: 5.867 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/0.4997, allocations: 0.5529 MB / 0.6316 GB, free: 5.285 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.5, allocations: 0.7438 MB / 0.6323 GB, free: 4.512 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.027e-05/0.5001, allocations: 17.42 kB / 0.6323 GB, free: 4.496 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.5002, allocations: 15.44 kB / 0.6324 GB, free: 4.48 MB / 442.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5002, allocations: 0 / 0.6324 GB, free: 4.48 MB / 442.7 MB Notification: Performance of Templates: time 0.005046/0.5052, allocations: 2.186 MB / 0.6345 GB, free: 2.324 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/jenkins/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