Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001271/0.001271, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.001417/0.001417, allocations: 168.1 kB / 24.82 MB, free: 8.773 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.9335/0.9335, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3039/0.3039, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.223e-05, allocations: 6.312 kB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.01115/0.01116, allocations: 5.13 MB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.01332, allocations: 1.615 MB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.01655, allocations: 16 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.0185, allocations: 1.645 MB / 386.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.019, allocations: 329.3 kB / 387.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003658/0.02265, allocations: 0.4945 MB / 387.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.02313, allocations: 0.8315 MB / 388.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006871/0.02382, allocations: 0.6351 MB / 389.2 MB, free: 7.664 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.02429, allocations: 0.5067 MB / 389.7 MB, free: 7.156 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.02467, allocations: 359 kB / 390 MB, free: 6.805 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.371e-05/0.02475, allocations: 72 kB / 390.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.02503, allocations: 199.7 kB / 390.3 MB, free: 6.539 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.02511, allocations: 179.3 kB / 390.5 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.02527, allocations: 287.3 kB / 390.8 MB, free: 6.082 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.02617, allocations: 0.7628 MB / 391.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.02617, allocations: 0 / 391.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.02618, allocations: 0 / 391.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.02618, allocations: 0 / 391.5 MB, free: 5.316 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002262/0.02844, allocations: 1.431 MB / 393 MB, free: 3.844 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.02848, allocations: 8.031 kB / 393 MB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.02978, allocations: 395.8 kB / 393.3 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.02994, allocations: 199.1 kB / 393.5 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.043e-05/0.03, allocations: 78.31 kB / 393.6 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.03012, allocations: 104.3 kB / 393.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008167/0.03093, allocations: 0.6943 MB / 394.4 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.03096, allocations: 7.875 kB / 394.4 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.03102, allocations: 44 kB / 394.5 MB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.03104, allocations: 24 kB / 394.5 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.03152, allocations: 330.5 kB / 394.8 MB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.0345, allocations: 2.788 MB / 397.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.03572, allocations: 0.7535 MB / 398.4 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.03591, allocations: 180.7 kB / 398.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.03598, allocations: 40.28 kB / 398.6 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.03601, allocations: 49.52 kB / 398.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.114e-06/0.03601, allocations: 0 / 398.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001451/0.03746, allocations: 0.8089 MB / 399.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.03751, allocations: 136.5 kB / 399.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.03775, allocations: 343.8 kB / 399.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.03777, allocations: 33.7 kB / 399.9 MB, free: 12.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.03798, allocations: 470.5 kB / 400.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.03812, allocations: 237.9 kB / 400.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.03829, allocations: 164.2 kB / 400.8 MB, free: 11.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.03843, allocations: 0.5312 MB / 401.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.03856, allocations: 89.92 kB / 401.4 MB, free: 11.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.03884, allocations: 382 kB / 401.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.03931, allocations: 0.5116 MB / 402.3 MB, free: 9.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.03932, allocations: 3.938 kB / 402.3 MB, free: 9.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008563/0.04017, allocations: 0.6794 MB / 403 MB, free: 9.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.04019, allocations: 15.92 kB / 403 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.0402, allocations: 8.031 kB / 403 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006841/0.04089, allocations: 254.4 kB / 403.2 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.0412, allocations: 143.8 kB / 403.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.04527, allocations: 7.626 MB / 411 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.04554, allocations: 75.41 kB / 411.1 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.04557, allocations: 31.98 kB / 411.1 MB, free: 0.6289 MB / 378.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.000172/0.04575, allocations: 216.3 kB / 411.3 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.04586, allocations: 59.77 kB / 411.4 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006978/0.04656, allocations: 0.5094 MB / 411.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.04657, allocations: 11.98 kB / 411.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.04658, allocations: 8 kB / 411.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.04658, allocations: 0 / 411.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.04829, allocations: 1.206 MB / 413.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.04829, allocations: 0 / 413.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.04847, allocations: 67.84 kB / 413.2 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006274/0.0491, allocations: 242.5 kB / 413.4 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.04912, allocations: 19.98 kB / 413.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003862/0.05299, allocations: 7.612 MB / 421.1 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.05299, allocations: 0 / 421.1 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.05412, allocations: 1.084 MB / 422.1 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.05417, allocations: 55.59 kB / 422.2 MB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.05421, allocations: 12 kB / 422.2 MB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.05445, allocations: 12 kB / 422.2 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/0.05452, allocations: 59.83 kB / 422.3 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.05455, allocations: 19.88 kB / 422.3 MB, free: 4.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.05467, allocations: 213.1 kB / 422.5 MB, free: 4.641 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05467, allocations: 0 / 422.5 MB, free: 4.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008569/0.05553, allocations: 279.3 kB / 422.8 MB, free: 4.367 MB / 394.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.000194/0.05572, allocations: 135.2 kB / 422.9 MB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009115/0.05663, allocations: 1.137 MB / 424 MB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.05664, allocations: 64 / 424 MB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.0572, allocations: 0.9409 MB / 425 MB, free: 2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.05773, allocations: 60.59 kB / 425 MB, free: 1.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.05934, allocations: 1.134 MB / 426.2 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.05947, allocations: 151.5 kB / 426.3 MB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.05966, allocations: 64.44 kB / 426.4 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.05979, allocations: 122.2 kB / 426.5 MB, free: 408 kB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.05979, allocations: 4 kB / 426.5 MB, free: 404 kB / 394.7 MB Notification: Performance of Templates: time 0.01246/0.07225, allocations: 7.442 MB / 434 MB, free: 9.012 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.449715055990964]