Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 175.6 kB / 17.4 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.3 MB / 241.4 MB, free: 9.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007271/0.0007271, allocations: 97.16 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 11.98 kB / 352.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2304, allocations: 50.4 MB / 402.8 MB, free: 32.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.3787, allocations: 81.11 MB / 483.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.379, allocations: 93.44 kB / 484 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04503/0.4241, allocations: 11.39 MB / 495.3 MB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4241, allocations: 0 / 495.3 MB, free: 3.555 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.4241, allocations: 8 kB / 495.4 MB, free: 3.547 MB / 362.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.00195/0.4261, allocations: 0.6161 MB / 496 MB, free: 2.883 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4262, allocations: 12.03 kB / 496 MB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.4272, allocations: 112.5 kB / 496.1 MB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.4278, allocations: 256.6 kB / 496.3 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.4278, allocations: 21.03 kB / 496.4 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/0.4279, allocations: 32.38 kB / 496.4 MB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/0.4288, allocations: 333.6 kB / 496.7 MB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.4288, allocations: 7.875 kB / 496.7 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.4289, allocations: 16 kB / 496.7 MB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.4289, allocations: 8 kB / 496.8 MB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006937/0.4296, allocations: 234.5 kB / 497 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.4325, allocations: 1.467 MB / 498.5 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009679/0.4335, allocations: 0.6949 MB / 499.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.4338, allocations: 101.8 kB / 499.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.4339, allocations: 89.09 kB / 499.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.434, allocations: 34.5 kB / 499.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.755e-06/0.434, allocations: 0 / 499.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001886/0.4359, allocations: 0.489 MB / 499.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.4359, allocations: 51.41 kB / 499.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.4362, allocations: 180.9 kB / 0.4884 GB, free: 14.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.4362, allocations: 29.7 kB / 0.4884 GB, free: 14.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.4364, allocations: 179.9 kB / 0.4886 GB, free: 14.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/0.4365, allocations: 82.84 kB / 0.4886 GB, free: 14.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.4365, allocations: 8 kB / 0.4886 GB, free: 14.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4367, allocations: 326.8 kB / 0.489 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.4369, allocations: 68.53 kB / 0.489 GB, free: 13.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.4372, allocations: 120.1 kB / 0.4891 GB, free: 13.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.4377, allocations: 211.2 kB / 0.4893 GB, free: 13.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.4377, allocations: 0 / 0.4893 GB, free: 13.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008605/0.4385, allocations: 324.4 kB / 0.4896 GB, free: 13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4386, allocations: 8 kB / 0.4897 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4386, allocations: 0 / 0.4897 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004465/0.4391, allocations: 80.98 kB / 0.4897 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.4393, allocations: 39.92 kB / 0.4898 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.4423, allocations: 1.839 MB / 0.4916 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.4425, allocations: 23.72 kB / 0.4916 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.4426, allocations: 8 kB / 0.4916 GB, free: 10.87 MB / 378.7 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 (24): * Single equations (assignments): 23 * 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 0.0002247/0.4428, allocations: 153.8 kB / 0.4917 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.4429, allocations: 23.7 kB / 0.4918 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008737/0.4438, allocations: 279.6 kB / 0.492 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.4438, allocations: 4 kB / 0.492 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4438, allocations: 7.938 kB / 0.492 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.4439, allocations: 288 / 0.492 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.4455, allocations: 0.6901 MB / 0.4927 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4455, allocations: 0 / 0.4927 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.4457, allocations: 23.94 kB / 0.4927 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/0.4461, allocations: 80.73 kB / 0.4928 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.4462, allocations: 8 kB / 0.4928 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.4479, allocations: 1.819 MB / 0.4946 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4479, allocations: 0 / 0.4946 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.4485, allocations: 447.8 kB / 0.495 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-05/0.4486, allocations: 116.9 kB / 0.4951 GB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.4486, allocations: 11.94 kB / 0.4952 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4487, allocations: 0 / 0.4952 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.4488, allocations: 15.98 kB / 0.4952 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4488, allocations: 16.05 kB / 0.4952 GB, free: 6.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.287e-05/0.4489, allocations: 131.5 kB / 0.4953 GB, free: 6.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4489, allocations: 0 / 0.4953 GB, free: 6.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000429/0.4493, allocations: 99.78 kB / 0.4954 GB, free: 6.719 MB / 378.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.0001987/0.4495, allocations: 139.1 kB / 0.4955 GB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005383/0.4501, allocations: 345.4 kB / 0.4959 GB, free: 6.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4501, allocations: 288 / 0.4959 GB, free: 6.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.4505, allocations: 254.8 kB / 0.4961 GB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.4508, allocations: 23.92 kB / 0.4961 GB, free: 5.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.4518, allocations: 0.7215 MB / 0.4968 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.4522, allocations: 0.7596 MB / 0.4976 GB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.4523, allocations: 17.95 kB / 0.4976 GB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.4523, allocations: 19.44 kB / 0.4976 GB, free: 4.371 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/0.4523, allocations: 0 / 0.4976 GB, free: 4.371 MB / 378.7 MB Notification: Performance of Templates: time 0.00554/0.4579, allocations: 2.502 MB / 0.5001 GB, free: 1.883 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches