Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005343/0.005343, allocations: 105.7 kB / 21.98 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 216.5 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 230.5 MB / 258.9 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2209/0.2209, allocations: 46.93 MB / 362.3 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 75.88 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3343, allocations: 66.08 MB / 0.5627 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006954/0.3413, allocations: 5.373 MB / 0.568 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.3445, allocations: 1.67 MB / 0.5696 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.3447, allocations: 20 kB / 0.5696 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.3482, allocations: 1.599 MB / 0.5712 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008167/0.349, allocations: 317.6 kB / 0.5715 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.3502, allocations: 0.5252 MB / 0.572 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009906/0.3512, allocations: 0.8008 MB / 0.5728 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.3522, allocations: 0.6387 MB / 0.5734 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005294/0.3527, allocations: 358.7 kB / 0.5738 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.3533, allocations: 466.2 kB / 0.5742 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.3534, allocations: 76 kB / 0.5743 GB, free: 8.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004888/0.3539, allocations: 199.9 kB / 0.5745 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.3541, allocations: 175.3 kB / 0.5746 GB, free: 8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.3544, allocations: 421.9 kB / 0.575 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.3559, allocations: 1.178 MB / 0.5762 GB, free: 6.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3559, allocations: 0 / 0.5762 GB, free: 6.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3559, allocations: 0 / 0.5762 GB, free: 6.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3559, allocations: 0 / 0.5762 GB, free: 6.406 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003315/0.3592, allocations: 1.3 MB / 0.5775 GB, free: 5.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3593, allocations: 12.02 kB / 0.5775 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.3608, allocations: 228.2 kB / 0.5777 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.3611, allocations: 206 kB / 0.5779 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.902e-05/0.3612, allocations: 74.38 kB / 0.5779 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.3613, allocations: 104.1 kB / 0.578 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.3629, allocations: 0.936 MB / 0.579 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.3629, allocations: 11.95 kB / 0.579 GB, free: 3.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/0.363, allocations: 36 kB / 0.579 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.363, allocations: 24 kB / 0.579 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.3643, allocations: 0.7301 MB / 0.5797 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005107/0.3694, allocations: 3.68 MB / 0.5833 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.3709, allocations: 0.775 MB / 0.5841 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.3713, allocations: 271 kB / 0.5844 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.914e-05/0.3714, allocations: 28.3 kB / 0.5844 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3714, allocations: 46.88 kB / 0.5844 GB, free: 13.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.234e-06/0.3715, allocations: 0 / 0.5844 GB, free: 13.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002511/0.374, allocations: 1.012 MB / 0.5854 GB, free: 12.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.3741, allocations: 140.5 kB / 0.5855 GB, free: 12.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.3744, allocations: 320 kB / 0.5859 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.3745, allocations: 37.7 kB / 0.5859 GB, free: 12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.3747, allocations: 415.8 kB / 0.5863 GB, free: 11.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.3749, allocations: 241.9 kB / 0.5865 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.3751, allocations: 146.6 kB / 0.5867 GB, free: 11.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3753, allocations: 354.8 kB / 0.587 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.3756, allocations: 197.9 kB / 0.5872 GB, free: 10.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.3761, allocations: 392.7 kB / 0.5876 GB, free: 10.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008882/0.377, allocations: 0.6336 MB / 0.5882 GB, free: 9.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.377, allocations: 4 kB / 0.5882 GB, free: 9.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001508/0.3785, allocations: 0.8738 MB / 0.589 GB, free: 8.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3785, allocations: 8 kB / 0.589 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3786, allocations: 8 kB / 0.589 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.3792, allocations: 219.3 kB / 0.5893 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.3796, allocations: 147.7 kB / 0.5894 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005837/0.3855, allocations: 6.296 MB / 0.5955 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.386, allocations: 83.47 kB / 0.5956 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.386, allocations: 35.98 kB / 0.5957 GB, free: 1.316 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003285/0.3863, allocations: 222.5 kB / 0.5959 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.3865, allocations: 43.72 kB / 0.5959 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.3877, allocations: 0.6874 MB / 0.5966 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3877, allocations: 8 kB / 0.5966 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.3878, allocations: 7.984 kB / 0.5966 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3878, allocations: 3.938 kB / 0.5966 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.3902, allocations: 1.53 MB / 0.5981 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3902, allocations: 4 kB / 0.5981 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.3905, allocations: 67.91 kB / 0.5982 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/0.391, allocations: 219.2 kB / 0.5984 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.391, allocations: 16 kB / 0.5984 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005844/0.3969, allocations: 6.309 MB / 0.6046 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3969, allocations: 0 / 0.6046 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.3986, allocations: 1.191 MB / 0.6057 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3987, allocations: 47.67 kB / 0.6058 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.3987, allocations: 12 kB / 0.6058 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.399, allocations: 19.98 kB / 0.6058 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3992, allocations: 59.77 kB / 0.6058 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.3992, allocations: 16 kB / 0.6059 GB, free: 6.277 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.3994, allocations: 219.1 kB / 0.6061 GB, free: 6.062 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3994, allocations: 3.938 kB / 0.6061 GB, free: 6.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009741/0.4004, allocations: 279.3 kB / 0.6063 GB, free: 5.785 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002282/0.4006, allocations: 135.1 kB / 0.6065 GB, free: 5.641 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.4022, allocations: 1.057 MB / 0.6075 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4022, allocations: 0 / 0.6075 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000907/0.4031, allocations: 0.7605 MB / 0.6082 GB, free: 3.719 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.4037, allocations: 40.88 kB / 0.6083 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.4058, allocations: 1.268 MB / 0.6095 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.4063, allocations: 0.9111 MB / 0.6104 GB, free: 1.422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.4065, allocations: 47.42 kB / 0.6105 GB, free: 1.379 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4065, allocations: 0 / 0.6105 GB, free: 1.379 MB / 446.1 MB Notification: Performance of Templates: time 0.02169/0.4281, allocations: 19.71 MB / 0.6297 GB, free: 13.64 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.979014763841406]