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.001881/0.001881, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001952/0.001952, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3631/0.3631, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.233e-06/1.233e-06, allocations: 0 / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.908e-05, allocations: 10.25 kB / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007946/0.007975, allocations: 5.219 MB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.01137, allocations: 1.607 MB / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.01173, allocations: 16 kB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004492/0.01622, allocations: 1.68 MB / 383.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.01789, allocations: 333.3 kB / 384.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.01924, allocations: 0.5023 MB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.02046, allocations: 0.8316 MB / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.02155, allocations: 0.639 MB / 386.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007267/0.02228, allocations: 0.5028 MB / 386.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005696/0.02285, allocations: 355 kB / 386.9 MB, free: 9.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.02296, allocations: 72 kB / 387 MB, free: 9.199 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.02342, allocations: 195.7 kB / 387.2 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.02359, allocations: 179.3 kB / 387.4 MB, free: 8.832 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.02393, allocations: 287.3 kB / 387.6 MB, free: 8.551 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.02579, allocations: 1.195 MB / 388.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.02579, allocations: 4 kB / 388.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.02579, allocations: 0 / 388.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.0258, allocations: 0 / 388.8 MB, free: 7.348 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.003599/0.0294, allocations: 1.474 MB / 390.3 MB, free: 5.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.02945, allocations: 11.98 kB / 390.3 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.03121, allocations: 391.8 kB / 390.7 MB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.03148, allocations: 212.1 kB / 390.9 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.364e-05/0.03156, allocations: 82.3 kB / 391 MB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.03172, allocations: 100.3 kB / 391.1 MB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.03348, allocations: 0.9866 MB / 392.1 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.03352, allocations: 7.938 kB / 392.1 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.03361, allocations: 40 kB / 392.1 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.03363, allocations: 28 kB / 392.2 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.035, allocations: 0.6949 MB / 392.9 MB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/0.04073, allocations: 3.194 MB / 396 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.04256, allocations: 0.8217 MB / 396.9 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.043, allocations: 288 kB / 397.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/0.0431, allocations: 28.31 kB / 397.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.04315, allocations: 53.59 kB / 397.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.375e-06/0.04315, allocations: 0 / 397.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002872/0.04602, allocations: 1.048 MB / 398.3 MB, free: 13.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.04613, allocations: 136.5 kB / 398.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.04662, allocations: 412 kB / 398.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.04667, allocations: 37.7 kB / 398.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.04703, allocations: 474.5 kB / 399.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.04729, allocations: 250 kB / 399.6 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.04756, allocations: 176.2 kB / 399.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003311/0.04789, allocations: 0.5391 MB / 400.3 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.04827, allocations: 193.9 kB / 400.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.04895, allocations: 494.2 kB / 400.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.05008, allocations: 0.7343 MB / 401.7 MB, free: 9.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.05008, allocations: 4 kB / 401.7 MB, free: 9.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001969/0.05205, allocations: 0.929 MB / 402.6 MB, free: 8.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.05207, allocations: 8 kB / 402.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.05209, allocations: 8 kB / 402.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.05341, allocations: 294.7 kB / 402.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.0539, allocations: 143.8 kB / 403.1 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008383/0.06229, allocations: 8.315 MB / 411.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/0.06285, allocations: 83.41 kB / 411.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.06291, allocations: 32 kB / 411.5 MB, free: 15.57 MB / 394.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,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.0004227/0.06333, allocations: 280.2 kB / 411.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.06349, allocations: 63.72 kB / 411.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.0649, allocations: 0.6825 MB / 412.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.06491, allocations: 11.94 kB / 412.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.06492, allocations: 4 kB / 412.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.06493, allocations: 7.969 kB / 412.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.06774, allocations: 1.603 MB / 414.1 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.06774, allocations: 0 / 414.1 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.06803, allocations: 67.91 kB / 414.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.06925, allocations: 290.5 kB / 414.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.06929, allocations: 23.92 kB / 414.5 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008424/0.07771, allocations: 8.291 MB / 422.8 MB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.07772, allocations: 4 kB / 422.8 MB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.07993, allocations: 1.393 MB / 424.2 MB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.08005, allocations: 55.56 kB / 424.2 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.0801, allocations: 12 kB / 424.3 MB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.08043, allocations: 16.06 kB / 424.3 MB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.08056, allocations: 59.83 kB / 424.3 MB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.0806, allocations: 23.95 kB / 424.3 MB, free: 2.055 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003135/0.08091, allocations: 257 kB / 424.6 MB, free: 1.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08091, allocations: 0 / 424.6 MB, free: 1.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001061/0.08197, allocations: 283.3 kB / 424.9 MB, free: 1.527 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.0002793/0.08225, allocations: 135.2 kB / 425 MB, free: 1.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.08424, allocations: 1.333 MB / 426.3 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.08425, allocations: 4 kB / 426.3 MB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.08547, allocations: 1.027 MB / 427.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.08609, allocations: 44.48 kB / 427.4 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.08844, allocations: 1.234 MB / 428.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.08884, allocations: 318.5 kB / 429 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002413/0.08909, allocations: 64.42 kB / 429 MB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.611e-05/0.08917, allocations: 32.5 kB / 429.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.08917, allocations: 0 / 429.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of Templates: time 0.01563/0.1048, allocations: 6.89 MB / 435.9 MB, free: 6.293 MB / 410.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.537310924031772]