Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001427/0.001427, allocations: 88.83 kB / 20.68 MB, free: 1.023 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.001561/0.001561, allocations: 156.7 kB / 23.95 MB, free: 4.152 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.536/1.536, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 442.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.333e-05, allocations: 4.812 kB / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007567/0.0076, allocations: 4.768 MB / 447.4 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2901/0.2977, allocations: 1.568 MB / 449 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.2988, allocations: 18.09 kB / 449 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004236/0.303, allocations: 1.561 MB / 450.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.3046, allocations: 330.1 kB / 450.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.3061, allocations: 0.4998 MB / 451.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.3074, allocations: 0.8328 MB / 452.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.3085, allocations: 0.6263 MB / 452.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007864/0.3093, allocations: 0.5037 MB / 453.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.3099, allocations: 347.2 kB / 453.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.31, allocations: 74.5 kB / 453.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004836/0.3105, allocations: 196.2 kB / 454 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.3106, allocations: 180.5 kB / 454.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004042/0.311, allocations: 286.8 kB / 454.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.3127, allocations: 1.188 MB / 455.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3127, allocations: 1.344 kB / 455.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3127, allocations: 0 / 455.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.3127, allocations: 6.75 kB / 455.6 MB, free: 13.27 MB / 366.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.003459/0.3162, allocations: 1.29 MB / 456.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3162, allocations: 10.39 kB / 456.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.3179, allocations: 238.2 kB / 457.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.3181, allocations: 201.7 kB / 457.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.3182, allocations: 73.44 kB / 457.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.3184, allocations: 101.3 kB / 457.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.32, allocations: 0.9414 MB / 458.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.32, allocations: 6.062 kB / 458.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/0.3201, allocations: 40.75 kB / 458.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.3201, allocations: 24.66 kB / 458.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.3214, allocations: 0.7189 MB / 459.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004564/0.326, allocations: 2.711 MB / 462 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.3279, allocations: 0.764 MB / 462.7 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/0.3284, allocations: 264 kB / 463 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-05/0.3285, allocations: 23.44 kB / 463 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3285, allocations: 48.8 kB / 463 MB, free: 9.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.274e-06/0.3285, allocations: 0 / 463 MB, free: 9.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002791/0.3313, allocations: 1.023 MB / 464.1 MB, free: 8.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.3314, allocations: 137 kB / 464.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.3317, allocations: 297.8 kB / 464.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.3317, allocations: 36.86 kB / 464.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3319, allocations: 409.1 kB / 464.9 MB, free: 8.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.3321, allocations: 239.6 kB / 465.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.3323, allocations: 155 kB / 465.3 MB, free: 7.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.3324, allocations: 349.1 kB / 465.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.3328, allocations: 205.1 kB / 465.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.3333, allocations: 399.6 kB / 466.2 MB, free: 7.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/0.3342, allocations: 0.6256 MB / 466.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.3342, allocations: 5.281 kB / 466.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001734/0.3359, allocations: 0.8822 MB / 467.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.336, allocations: 7 kB / 467.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.336, allocations: 9.391 kB / 467.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007068/0.3367, allocations: 220.5 kB / 468 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.3372, allocations: 145.8 kB / 468.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.3418, allocations: 6.148 MB / 474.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.3423, allocations: 79.58 kB / 474.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.3424, allocations: 40.77 kB / 474.4 MB, free: 0.5195 MB / 366.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.0003602/0.3427, allocations: 220.5 kB / 474.6 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.3429, allocations: 43.95 kB / 474.7 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.3443, allocations: 0.692 MB / 475.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.3443, allocations: 10.72 kB / 475.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3443, allocations: 5 kB / 475.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3443, allocations: 4.172 kB / 475.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.347, allocations: 1.343 MB / 476.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.347, allocations: 1.281 kB / 476.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.3473, allocations: 67.39 kB / 476.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005749/0.3478, allocations: 219.1 kB / 477 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.3479, allocations: 16.56 kB / 477 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006894/0.3548, allocations: 6.143 MB / 483.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3548, allocations: 1.438 kB / 483.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.3567, allocations: 1.185 MB / 484.3 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.3568, allocations: 53.05 kB / 484.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/0.3568, allocations: 11.84 kB / 484.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.3572, allocations: 16.23 kB / 484.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.3573, allocations: 64.75 kB / 484.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.3574, allocations: 21.94 kB / 484.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.3576, allocations: 195.1 kB / 484.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3576, allocations: 0 / 484.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00139/0.359, allocations: 282.4 kB / 485 MB, free: 8.496 MB / 382.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.0003097/0.3593, allocations: 145.7 kB / 485.1 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.3611, allocations: 1.05 MB / 486.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3612, allocations: 0 / 486.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009788/0.3621, allocations: 0.7533 MB / 486.9 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.3628, allocations: 45.28 kB / 487 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.3652, allocations: 1.19 MB / 488.1 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3655, allocations: 310.5 kB / 488.4 MB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000242/0.3658, allocations: 65.2 kB / 488.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.3659, allocations: 32.19 kB / 488.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3659, allocations: 7.219 kB / 488.6 MB, free: 5.961 MB / 382.1 MB Notification: Performance of Templates: time 0.01576/0.3816, allocations: 6.758 MB / 495.3 MB, free: 60 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.570863198488951]