Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205.1 MB / 223.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008305/0.0008305, allocations: 106.2 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007481/0.0007481, allocations: 39.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1787, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003206/0.182, allocations: 2.747 MB / 376.6 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1834, allocations: 1.19 MB / 377.8 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1835, allocations: 6.906 kB / 377.8 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.1847, allocations: 0.5885 MB / 378.4 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.1849, allocations: 105.6 kB / 378.5 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009545/0.1859, allocations: 0.6568 MB / 379.1 MB, free: 41.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.1862, allocations: 282.3 kB / 379.4 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.1865, allocations: 252 kB / 379.6 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1866, allocations: 126.3 kB / 379.8 MB, free: 41.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.1868, allocations: 161.4 kB / 379.9 MB, free: 41.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.1868, allocations: 19.84 kB / 379.9 MB, free: 41.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.1871, allocations: 172.2 kB / 380.1 MB, free: 41.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.1871, allocations: 54.61 kB / 380.2 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1873, allocations: 141.7 kB / 380.3 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.1876, allocations: 494.4 kB / 380.8 MB, free: 40.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.1877, allocations: 0 / 380.8 MB, free: 40.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1877, allocations: 0 / 380.8 MB, free: 40.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1877, allocations: 0 / 380.8 MB, free: 40.7 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.001255/0.1889, allocations: 0.7238 MB / 381.5 MB, free: 40.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.189, allocations: 9.625 kB / 381.5 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006923/0.1897, allocations: 118.1 kB / 381.6 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1899, allocations: 260.6 kB / 381.9 MB, free: 39.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1899, allocations: 25.62 kB / 381.9 MB, free: 39.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.19, allocations: 33.16 kB / 381.9 MB, free: 39.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.1904, allocations: 334.2 kB / 382.3 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1904, allocations: 5.125 kB / 382.3 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1904, allocations: 11.28 kB / 382.3 MB, free: 39.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1904, allocations: 7.656 kB / 382.3 MB, free: 39.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.1908, allocations: 245 kB / 382.5 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.1922, allocations: 1.442 MB / 384 MB, free: 38.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.1926, allocations: 0.6995 MB / 384.7 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.1927, allocations: 100.2 kB / 384.8 MB, free: 37.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.636e-05/0.1928, allocations: 90.72 kB / 384.9 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.1928, allocations: 44.75 kB / 384.9 MB, free: 37.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.1928, allocations: 0 / 384.9 MB, free: 37.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009906/0.1938, allocations: 0.4889 MB / 385.4 MB, free: 36.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.1939, allocations: 57.91 kB / 385.5 MB, free: 36.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.194, allocations: 178.8 kB / 385.6 MB, free: 36.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.194, allocations: 35.02 kB / 385.7 MB, free: 36.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.1941, allocations: 173.4 kB / 385.8 MB, free: 36.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.1941, allocations: 81.81 kB / 385.9 MB, free: 36.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.1942, allocations: 56.7 kB / 386 MB, free: 36.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.1942, allocations: 326.2 kB / 386.3 MB, free: 36.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.1943, allocations: 67.38 kB / 386.4 MB, free: 35.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1945, allocations: 132.2 kB / 386.5 MB, free: 35.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.1947, allocations: 221.1 kB / 386.7 MB, free: 35.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1947, allocations: 0 / 386.7 MB, free: 35.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004488/0.1951, allocations: 327.8 kB / 387 MB, free: 35.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1952, allocations: 10 kB / 387 MB, free: 35.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1952, allocations: 2.156 kB / 387 MB, free: 35.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.1954, allocations: 77.8 kB / 387.1 MB, free: 35.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1956, allocations: 41.02 kB / 387.1 MB, free: 35.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.1968, allocations: 1.839 MB / 389 MB, free: 33.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.1969, allocations: 27.69 kB / 389 MB, free: 33.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.197, allocations: 16.06 kB / 389 MB, free: 33.66 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.1971, allocations: 141.8 kB / 389.2 MB, free: 33.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.1971, allocations: 15.81 kB / 389.2 MB, free: 33.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.1975, allocations: 288.8 kB / 389.5 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1975, allocations: 7.938 kB / 389.5 MB, free: 33.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1975, allocations: 0 / 389.5 MB, free: 33.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1975, allocations: 3.984 kB / 389.5 MB, free: 33.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.1982, allocations: 0.6944 MB / 390.2 MB, free: 32.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1982, allocations: 4 kB / 390.2 MB, free: 32.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.1983, allocations: 20 kB / 390.2 MB, free: 32.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/0.1985, allocations: 76.73 kB / 390.3 MB, free: 32.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1985, allocations: 8 kB / 390.3 MB, free: 32.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.1996, allocations: 1.827 MB / 392.1 MB, free: 30.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1997, allocations: 3.938 kB / 392.1 MB, free: 30.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008388/0.2005, allocations: 1.385 MB / 393.5 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.2006, allocations: 112.9 kB / 393.6 MB, free: 28.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2006, allocations: 4 kB / 393.6 MB, free: 28.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2007, allocations: 8 kB / 393.6 MB, free: 28.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.2007, allocations: 11.98 kB / 393.6 MB, free: 28.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2007, allocations: 11.98 kB / 393.6 MB, free: 28.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.904e-05/0.2008, allocations: 127.2 kB / 393.8 MB, free: 28.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2008, allocations: 0 / 393.8 MB, free: 28.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004387/0.2013, allocations: 99.69 kB / 393.9 MB, free: 28.45 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001378/0.2014, allocations: 123.2 kB / 394 MB, free: 28.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.2018, allocations: 362.6 kB / 394.3 MB, free: 27.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2018, allocations: 0 / 394.3 MB, free: 27.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.2021, allocations: 238.6 kB / 394.6 MB, free: 27.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.2024, allocations: 15.94 kB / 394.6 MB, free: 27.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.2031, allocations: 0.8843 MB / 395.5 MB, free: 26.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.2033, allocations: 0.7597 MB / 396.2 MB, free: 25.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.443e-05/0.2034, allocations: 25.94 kB / 396.3 MB, free: 25.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.2034, allocations: 15.44 kB / 396.3 MB, free: 25.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.2034, allocations: 0 / 396.3 MB, free: 25.95 MB / 298.7 MB Notification: Performance of Templates: time 0.004188/0.2076, allocations: 2.554 MB / 398.8 MB, free: 23.41 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches