Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.6 MB / 244.3 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008854/0.0008854, allocations: 109.2 kB / 296.4 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002275/0.0002275, allocations: 8 kB / 356.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1915, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00192/0.1935, allocations: 2.375 MB / 409.9 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1945, allocations: 1.09 MB / 411 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1946, allocations: 4 kB / 411 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1948, allocations: 101.5 kB / 411.1 MB, free: 24.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.1951, allocations: 111.3 kB / 411.2 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.1959, allocations: 0.5298 MB / 411.7 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1961, allocations: 274.6 kB / 412 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.1968, allocations: 0.5171 MB / 412.5 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1969, allocations: 115.5 kB / 412.6 MB, free: 22.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1971, allocations: 143.5 kB / 412.8 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1971, allocations: 14.88 kB / 412.8 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.1973, allocations: 167.8 kB / 412.9 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.1973, allocations: 35.8 kB / 413 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.1974, allocations: 77.58 kB / 413 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.1977, allocations: 383.9 kB / 413.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1977, allocations: 0 / 413.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1977, allocations: 0 / 413.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1977, allocations: 0 / 413.4 MB, free: 21.88 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00116/0.1989, allocations: 0.6708 MB / 414.1 MB, free: 21.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.1989, allocations: 8.031 kB / 414.1 MB, free: 21.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006852/0.1996, allocations: 123.5 kB / 414.2 MB, free: 21.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.1998, allocations: 255.9 kB / 414.5 MB, free: 20.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1998, allocations: 28.66 kB / 414.5 MB, free: 20.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.1999, allocations: 31.95 kB / 414.5 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.2003, allocations: 337 kB / 414.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2003, allocations: 3.938 kB / 414.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.2003, allocations: 12 kB / 414.9 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2003, allocations: 8 kB / 414.9 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.2006, allocations: 238.5 kB / 415.1 MB, free: 20.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.202, allocations: 1.451 MB / 416.6 MB, free: 18.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.2024, allocations: 0.7059 MB / 417.3 MB, free: 17.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2025, allocations: 104.8 kB / 417.4 MB, free: 17.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.2027, allocations: 170.1 kB / 417.5 MB, free: 17.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.2027, allocations: 34.97 kB / 417.6 MB, free: 17.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.2027, allocations: 0 / 417.6 MB, free: 17.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009684/0.2037, allocations: 495.5 kB / 418.1 MB, free: 16.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.683e-05/0.2037, allocations: 55.41 kB / 418.1 MB, free: 16.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2038, allocations: 183.3 kB / 418.3 MB, free: 16.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.2038, allocations: 29.7 kB / 418.3 MB, free: 16.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.2039, allocations: 168 kB / 418.5 MB, free: 16.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.2039, allocations: 94.67 kB / 418.6 MB, free: 16.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.2039, allocations: 4 kB / 418.6 MB, free: 16.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.204, allocations: 326.8 kB / 418.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.2041, allocations: 72.53 kB / 419 MB, free: 15.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.2042, allocations: 125 kB / 419.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.2043, allocations: 85.17 kB / 419.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2043, allocations: 0 / 419.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004235/0.2047, allocations: 323.8 kB / 419.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2048, allocations: 8 kB / 419.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2048, allocations: 0 / 419.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/0.205, allocations: 84.97 kB / 419.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2052, allocations: 35.98 kB / 419.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.2064, allocations: 1.839 MB / 421.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.2065, allocations: 19.88 kB / 421.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.2066, allocations: 11.94 kB / 421.5 MB, free: 13.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.163e-05/0.2067, allocations: 157.8 kB / 421.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.2067, allocations: 15.81 kB / 421.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.2071, allocations: 288 kB / 421.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2071, allocations: 7.953 kB / 421.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2071, allocations: 7.984 kB / 422 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2072, allocations: 4 kB / 422 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006624/0.2078, allocations: 0.6788 MB / 422.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2078, allocations: 3.953 kB / 422.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.2079, allocations: 27.92 kB / 422.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.2081, allocations: 76.81 kB / 422.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2082, allocations: 0 / 422.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.2093, allocations: 1.835 MB / 424.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2093, allocations: 0 / 424.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.2098, allocations: 447.9 kB / 425 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.2099, allocations: 112.9 kB / 425.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.2099, allocations: 7.938 kB / 425.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.21, allocations: 4 kB / 425.1 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.21, allocations: 19.97 kB / 425.2 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.21, allocations: 8 kB / 425.2 MB, free: 9.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.982e-05/0.2101, allocations: 132.5 kB / 425.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2101, allocations: 0 / 425.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.2105, allocations: 95.75 kB / 425.4 MB, free: 9.004 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.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): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001338/0.2106, allocations: 119.2 kB / 425.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.211, allocations: 347 kB / 425.8 MB, free: 8.527 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2111, allocations: 0 / 425.8 MB, free: 8.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.2113, allocations: 258.7 kB / 426.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.2116, allocations: 31.58 kB / 426.1 MB, free: 8.234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006821/0.2123, allocations: 0.7376 MB / 426.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2124, allocations: 0.7519 MB / 427.6 MB, free: 6.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.2124, allocations: 19.44 kB / 427.6 MB, free: 6.668 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2124, allocations: 4 kB / 427.6 MB, free: 6.664 MB / 298.7 MB Notification: Performance of Templates: time 0.004029/0.2165, allocations: 3.983 MB / 431.6 MB, free: 2.684 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches