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.0009405/0.0009405, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001849/0.001849, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9697/0.9697, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] 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.3017/0.3017, allocations: 34.86 MB / 296.6 MB, free: 396 kB / 266.7 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 1.202e-06/1.202e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.033e-05, allocations: 2.312 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004568/0.004588, allocations: 5.142 MB / 331 MB, free: 1.988 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.007171, allocations: 1.678 MB / 332.7 MB, free: 304 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.007539, allocations: 20 kB / 332.7 MB, free: 284 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.009419, allocations: 1.695 MB / 334.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000782/0.0102, allocations: 333.4 kB / 334.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007978/0.011, allocations: 0.5023 MB / 335.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007298/0.01173, allocations: 0.8335 MB / 336.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000772/0.0125, allocations: 0.6846 MB / 336.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.01303, allocations: 0.5067 MB / 337.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.01341, allocations: 363 kB / 337.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.176e-05/0.01349, allocations: 76 kB / 337.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.01388, allocations: 195.7 kB / 337.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.01397, allocations: 183.3 kB / 338.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.01418, allocations: 287.3 kB / 338.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008701/0.01505, allocations: 0.7667 MB / 339.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01505, allocations: 0 / 339.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01505, allocations: 0 / 339.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.01507, allocations: 0 / 339.1 MB, free: 9.84 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.001942/0.01701, allocations: 1.351 MB / 340.5 MB, free: 8.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.01705, allocations: 8.031 kB / 340.5 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.01801, allocations: 404.2 kB / 340.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.01815, allocations: 201.2 kB / 341.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.0182, allocations: 74.38 kB / 341.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.521e-05/0.0183, allocations: 104.3 kB / 341.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.01894, allocations: 0.6714 MB / 341.9 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.01897, allocations: 15.86 kB / 342 MB, free: 6.957 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.01901, allocations: 40 kB / 342 MB, free: 6.918 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.01903, allocations: 24 kB / 342 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.01937, allocations: 274.4 kB / 342.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.02172, allocations: 2.242 MB / 344.5 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.02245, allocations: 0.6725 MB / 345.2 MB, free: 3.559 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.02257, allocations: 140.5 kB / 345.3 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.536e-05/0.02264, allocations: 36.23 kB / 345.4 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.02266, allocations: 46.83 kB / 345.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 3.586e-06/0.02267, allocations: 0 / 345.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001045/0.02371, allocations: 0.6951 MB / 346.1 MB, free: 2.609 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.02376, allocations: 136.5 kB / 346.2 MB, free: 2.445 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.02393, allocations: 280.6 kB / 346.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.02395, allocations: 37.7 kB / 346.6 MB, free: 2.117 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.0241, allocations: 407.9 kB / 347 MB, free: 1.711 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.02421, allocations: 241.9 kB / 347.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.02433, allocations: 154.5 kB / 347.3 MB, free: 1.316 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.02442, allocations: 350.7 kB / 347.7 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.0245, allocations: 77.95 kB / 347.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.02467, allocations: 292.6 kB / 348 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.02499, allocations: 442.1 kB / 348.5 MB, free: 16 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.02499, allocations: 0 / 348.5 MB, free: 16 kB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005418/0.02554, allocations: 0.5443 MB / 349 MB, free: 15.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.02555, allocations: 11.98 kB / 349 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.02556, allocations: 7.938 kB / 349 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005343/0.0261, allocations: 233.1 kB / 349.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.02633, allocations: 135.8 kB / 349.4 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.02893, allocations: 5.29 MB / 354.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.02916, allocations: 87.39 kB / 354.8 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.02919, allocations: 24.09 kB / 354.8 MB, free: 9.316 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.000154/0.02934, allocations: 161.6 kB / 355 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.02942, allocations: 51.89 kB / 355 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.0299, allocations: 436.9 kB / 355.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.02991, allocations: 8 kB / 355.4 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.02991, allocations: 8 kB / 355.4 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.02992, allocations: 3.984 kB / 355.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.03093, allocations: 0.8818 MB / 356.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.03093, allocations: 4 kB / 356.3 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.03106, allocations: 63.91 kB / 356.4 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.03151, allocations: 219.1 kB / 356.6 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.03153, allocations: 12 kB / 356.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.03385, allocations: 5.298 MB / 361.9 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.03385, allocations: 3.938 kB / 361.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.03443, allocations: 0.7959 MB / 362.7 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.03449, allocations: 51.52 kB / 362.8 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.03451, allocations: 12 kB / 362.8 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.03467, allocations: 16 kB / 362.8 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.03475, allocations: 63.81 kB / 362.9 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.03477, allocations: 12 kB / 362.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.168e-05/0.03484, allocations: 82.75 kB / 363 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03484, allocations: 0 / 363 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006599/0.0355, allocations: 287.4 kB / 363.2 MB, free: 428 kB / 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.0001899/0.03569, allocations: 124.3 kB / 363.4 MB, free: 296 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.0364, allocations: 0.8913 MB / 364.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.03641, allocations: 4.5 kB / 364.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.0368, allocations: 0.695 MB / 365 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.03715, allocations: 53.09 kB / 365 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.03848, allocations: 1.09 MB / 366.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.0386, allocations: 151.5 kB / 366.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.03875, allocations: 64.44 kB / 366.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.03886, allocations: 99.36 kB / 366.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03886, allocations: 0 / 366.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of Templates: time 0.01044/0.0493, allocations: 7.441 MB / 373.8 MB, free: 5.75 MB / 346.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] 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","",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.1617351258173585]