Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009277/0.0009277, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009707/0.0009707, allocations: 176.3 kB / 24.92 MB, free: 8.652 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2731/0.2731, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.611e-05, allocations: 2.312 kB / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004725/0.004751, allocations: 5.176 MB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.007794, allocations: 1.685 MB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.008195, allocations: 16 kB / 330.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.01004, allocations: 1.684 MB / 331.8 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007274/0.01076, allocations: 325.4 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008231/0.01159, allocations: 0.4945 MB / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008837/0.01247, allocations: 0.8356 MB / 333.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008679/0.01334, allocations: 0.6798 MB / 334.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006554/0.01399, allocations: 0.5106 MB / 334.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.01445, allocations: 363.1 kB / 335 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.726e-05/0.01455, allocations: 76 kB / 335.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.01502, allocations: 199.7 kB / 335.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.01512, allocations: 183.3 kB / 335.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.01533, allocations: 287.3 kB / 335.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00094/0.01627, allocations: 0.755 MB / 336.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.01627, allocations: 4 kB / 336.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.01627, allocations: 3.938 kB / 336.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.01629, allocations: 0 / 336.5 MB, free: 12.34 MB / 314.7 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.002022/0.01831, allocations: 1.359 MB / 337.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.01835, allocations: 11.98 kB / 337.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.01938, allocations: 392.2 kB / 338.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.01955, allocations: 205.2 kB / 338.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.0196, allocations: 74.38 kB / 338.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.01972, allocations: 100.3 kB / 338.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.02037, allocations: 0.6831 MB / 339.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.02039, allocations: 7.922 kB / 339.3 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.02043, allocations: 44 kB / 339.4 MB, free: 9.414 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.02045, allocations: 24 kB / 339.4 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.0208, allocations: 274.7 kB / 339.7 MB, free: 9.125 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.02341, allocations: 2.246 MB / 341.9 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/0.02427, allocations: 0.6684 MB / 342.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.02442, allocations: 149.6 kB / 342.7 MB, free: 5.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.857e-05/0.0245, allocations: 36.3 kB / 342.8 MB, free: 5.867 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.02453, allocations: 46.83 kB / 342.8 MB, free: 5.812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 3.066e-06/0.02453, allocations: 0 / 342.8 MB, free: 5.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001118/0.02565, allocations: 0.701 MB / 343.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.0257, allocations: 136.5 kB / 343.6 MB, free: 4.934 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.02591, allocations: 280.6 kB / 343.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.02594, allocations: 41.7 kB / 343.9 MB, free: 4.602 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.02611, allocations: 403.8 kB / 344.3 MB, free: 4.199 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.02622, allocations: 237.9 kB / 344.6 MB, free: 3.965 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.02635, allocations: 146.5 kB / 344.7 MB, free: 3.816 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.02645, allocations: 358.7 kB / 345.1 MB, free: 3.457 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.02654, allocations: 81.89 kB / 345.1 MB, free: 3.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.02672, allocations: 284.6 kB / 345.4 MB, free: 3.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.02707, allocations: 442.1 kB / 345.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.02707, allocations: 0 / 345.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005694/0.02764, allocations: 0.5401 MB / 346.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.02766, allocations: 12.44 kB / 346.4 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.02767, allocations: 15.94 kB / 346.4 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.02822, allocations: 219.2 kB / 346.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.02848, allocations: 143.8 kB / 346.8 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.03137, allocations: 5.313 MB / 352.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.03163, allocations: 79.41 kB / 352.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.03167, allocations: 27.98 kB / 352.2 MB, free: 11.79 MB / 330.7 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,4,100.0%), (1,4,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.03183, allocations: 157.7 kB / 352.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/0.03192, allocations: 47.91 kB / 352.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.03241, allocations: 435.5 kB / 352.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.03242, allocations: 8 kB / 352.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.03242, allocations: 4 kB / 352.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.03243, allocations: 7.984 kB / 352.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.0335, allocations: 0.8847 MB / 353.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.0335, allocations: 4 kB / 353.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.03365, allocations: 67.91 kB / 353.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004865/0.03413, allocations: 227.2 kB / 354 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.03416, allocations: 12 kB / 354 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.0366, allocations: 5.294 MB / 359.3 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0366, allocations: 0 / 359.3 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.03717, allocations: 0.8061 MB / 360.1 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.03722, allocations: 51.53 kB / 360.2 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.03725, allocations: 16.06 kB / 360.2 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.0374, allocations: 12 kB / 360.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.03749, allocations: 55.83 kB / 360.3 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.03751, allocations: 15.98 kB / 360.3 MB, free: 3.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.03759, allocations: 82.78 kB / 360.4 MB, free: 3.164 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03759, allocations: 0 / 360.4 MB, free: 3.164 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007048/0.03829, allocations: 283.3 kB / 360.6 MB, free: 2.887 MB / 330.7 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.0001992/0.03849, allocations: 128.3 kB / 360.8 MB, free: 2.754 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008177/0.03931, allocations: 0.8835 MB / 361.6 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.03933, allocations: 8.5 kB / 361.7 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.03974, allocations: 0.6919 MB / 362.3 MB, free: 1.066 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.04008, allocations: 44.42 kB / 362.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.04151, allocations: 1.1 MB / 363.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.04165, allocations: 151.5 kB / 363.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.0418, allocations: 68.42 kB / 363.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.0419, allocations: 103.4 kB / 363.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/0.0419, allocations: 0 / 363.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of Templates: time 0.0106/0.0525, allocations: 7.439 MB / 371.2 MB, free: 8.188 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1108960760757327]