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.001399/0.001399, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001121/0.001121, allocations: 168.7 kB / 24.91 MB, free: 8.77 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 0.9969/0.9969, 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.2556/0.2556, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.66e-05, allocations: 7.078 kB / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004756/0.004782, allocations: 5.131 MB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.0079, allocations: 1.689 MB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.008339, allocations: 19.94 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.01022, allocations: 1.691 MB / 331.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007848/0.011, allocations: 329.5 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008113/0.01182, allocations: 0.5061 MB / 332.6 MB, free: 320 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007242/0.01254, allocations: 0.8316 MB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.01357, allocations: 0.6844 MB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005536/0.01412, allocations: 0.5067 MB / 334.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.01449, allocations: 355.1 kB / 334.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.01456, allocations: 80 kB / 335 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.01495, allocations: 199.7 kB / 335.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.01503, allocations: 183.3 kB / 335.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.01523, allocations: 291.3 kB / 335.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007257/0.01595, allocations: 0.755 MB / 336.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01596, allocations: 0 / 336.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01596, allocations: 3.938 kB / 336.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.01597, allocations: 0 / 336.4 MB, free: 12.41 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.002112/0.01808, allocations: 1.355 MB / 337.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.01812, allocations: 15.98 kB / 337.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009222/0.01904, allocations: 392.2 kB / 338.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.0192, allocations: 205.2 kB / 338.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.01925, allocations: 74.38 kB / 338.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.01937, allocations: 100.3 kB / 338.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.01999, allocations: 0.6879 MB / 339.3 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.02002, allocations: 7.938 kB / 339.3 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.02006, allocations: 40 kB / 339.3 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.02007, allocations: 24 kB / 339.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.02041, allocations: 273 kB / 339.6 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.02295, allocations: 2.246 MB / 341.8 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.02372, allocations: 0.672 MB / 342.5 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.02385, allocations: 149.5 kB / 342.7 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.936e-05/0.02393, allocations: 40.28 kB / 342.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.02396, allocations: 38.89 kB / 342.7 MB, free: 5.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 2.585e-06/0.02396, allocations: 0 / 342.7 MB, free: 5.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001083/0.02505, allocations: 0.6973 MB / 343.4 MB, free: 5.172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.02511, allocations: 140.5 kB / 343.6 MB, free: 5.004 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.0253, allocations: 280.6 kB / 343.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.02532, allocations: 33.7 kB / 343.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.0255, allocations: 407.8 kB / 344.3 MB, free: 4.273 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/0.02591, allocations: 241.9 kB / 344.5 MB, free: 4.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.02604, allocations: 146.5 kB / 344.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.02613, allocations: 350.7 kB / 345 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.02623, allocations: 77.95 kB / 345.1 MB, free: 3.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.02643, allocations: 296.5 kB / 345.4 MB, free: 3.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.02674, allocations: 430.2 kB / 345.8 MB, free: 2.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.02674, allocations: 4 kB / 345.8 MB, free: 2.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005337/0.02728, allocations: 0.5481 MB / 346.3 MB, free: 2.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.0273, allocations: 8 kB / 346.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.02731, allocations: 11.94 kB / 346.3 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.02785, allocations: 235.4 kB / 346.6 MB, free: 1.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.02808, allocations: 139.7 kB / 346.7 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.03182, allocations: 5.298 MB / 352 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.03215, allocations: 79.39 kB / 352.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.03218, allocations: 28 kB / 352.1 MB, free: 11.87 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.0002091/0.03239, allocations: 153.6 kB / 352.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.469e-05/0.03247, allocations: 55.89 kB / 352.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.03298, allocations: 433.8 kB / 352.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.03299, allocations: 8 kB / 352.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.033, allocations: 4 kB / 352.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.033, allocations: 3.984 kB / 352.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.03419, allocations: 0.8886 MB / 353.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.03419, allocations: 3.984 kB / 353.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.03433, allocations: 67.91 kB / 353.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.03481, allocations: 215.2 kB / 353.9 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.03483, allocations: 20 kB / 354 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003098/0.03793, allocations: 5.286 MB / 359.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.03793, allocations: 64 / 359.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.03861, allocations: 0.8026 MB / 360 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.03869, allocations: 51.53 kB / 360.1 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.03872, allocations: 12 kB / 360.1 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.03887, allocations: 16 kB / 360.1 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.03899, allocations: 55.92 kB / 360.2 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.03901, allocations: 15.98 kB / 360.2 MB, free: 3.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.782e-05/0.0391, allocations: 86.77 kB / 360.3 MB, free: 3.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.0391, allocations: 0 / 360.3 MB, free: 3.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009445/0.04005, allocations: 283.3 kB / 360.5 MB, free: 2.98 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.00025/0.0403, allocations: 128.2 kB / 360.7 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008129/0.04111, allocations: 0.8791 MB / 361.6 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.04112, allocations: 4.5 kB / 361.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.04157, allocations: 0.7041 MB / 362.3 MB, free: 1.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.04197, allocations: 47.42 kB / 362.3 MB, free: 1.113 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.04371, allocations: 1.093 MB / 363.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.04384, allocations: 151.5 kB / 363.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.04399, allocations: 64.42 kB / 363.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.0441, allocations: 103.4 kB / 363.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.563e-06/0.0441, allocations: 0 / 363.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of Templates: time 0.01234/0.05644, allocations: 7.44 MB / 371.2 MB, free: 8.289 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 -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.204967434052378]