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.001126/0.001126, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.0009447/0.0009447, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9148/0.9148, allocations: 177 MB / 205.1 MB, free: 5.465 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.2629/0.2629, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 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.372e-06/1.372e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.468e-06/1.084e-05, allocations: 2.312 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.003955/0.003966, allocations: 5.143 MB / 384.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.005562, allocations: 1.607 MB / 386 MB, free: 11.03 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.005733, allocations: 16 kB / 386 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.007239, allocations: 1.645 MB / 387.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.007634, allocations: 325.4 kB / 387.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.008219, allocations: 0.4945 MB / 388.4 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.008741, allocations: 0.8392 MB / 389.3 MB, free: 7.703 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005835/0.009324, allocations: 0.6389 MB / 389.9 MB, free: 7.051 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.0097, allocations: 0.5029 MB / 390.4 MB, free: 6.547 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.009988, allocations: 355 kB / 390.8 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.01005, allocations: 72 kB / 390.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.0103, allocations: 203.7 kB / 391 MB, free: 5.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.01038, allocations: 179.3 kB / 391.2 MB, free: 5.754 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.01054, allocations: 283.3 kB / 391.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.01114, allocations: 0.7668 MB / 392.3 MB, free: 4.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.01114, allocations: 0 / 392.3 MB, free: 4.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.01114, allocations: 0 / 392.3 MB, free: 4.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.01115, allocations: 0 / 392.3 MB, free: 4.707 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.001678/0.01283, allocations: 1.427 MB / 393.7 MB, free: 3.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.01286, allocations: 12.03 kB / 393.7 MB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008873/0.01374, allocations: 395.8 kB / 394.1 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.01388, allocations: 204.1 kB / 394.3 MB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.01392, allocations: 74.38 kB / 394.4 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.01402, allocations: 100.3 kB / 394.5 MB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.01465, allocations: 0.6942 MB / 395.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.01467, allocations: 7.938 kB / 395.2 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.01471, allocations: 40 kB / 395.2 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.01473, allocations: 28 kB / 395.2 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.01508, allocations: 333.6 kB / 395.5 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.01748, allocations: 2.784 MB / 398.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/0.01824, allocations: 0.7539 MB / 399.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.01838, allocations: 180.3 kB / 399.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.663e-05/0.01844, allocations: 36.28 kB / 399.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.01846, allocations: 45.58 kB / 399.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.014e-06/0.01846, allocations: 0 / 399.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001104/0.01957, allocations: 0.8146 MB / 400.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.01961, allocations: 144.4 kB / 400.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.0198, allocations: 343.8 kB / 400.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.01982, allocations: 33.7 kB / 400.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.01998, allocations: 470.5 kB / 401.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.02009, allocations: 237.9 kB / 401.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.02022, allocations: 160.2 kB / 401.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.02035, allocations: 0.5273 MB / 402 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.02045, allocations: 93.91 kB / 402.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.02067, allocations: 382 kB / 402.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.02103, allocations: 0.5077 MB / 403 MB, free: 9.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.02104, allocations: 4 kB / 403 MB, free: 9.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0006343/0.02167, allocations: 0.6869 MB / 403.7 MB, free: 8.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.02169, allocations: 11.94 kB / 403.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.02169, allocations: 4 kB / 403.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005231/0.02222, allocations: 250.7 kB / 404 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.02244, allocations: 143.8 kB / 404.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/0.02543, allocations: 7.635 MB / 411.7 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.02562, allocations: 79.39 kB / 411.8 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.02564, allocations: 28 kB / 411.8 MB, free: 20 kB / 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.0001431/0.02579, allocations: 204.3 kB / 412 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.02586, allocations: 59.77 kB / 412.1 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.02637, allocations: 0.5222 MB / 412.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.02638, allocations: 4 kB / 412.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.02638, allocations: 8 kB / 412.6 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02639, allocations: 3.984 kB / 412.6 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.02746, allocations: 1.202 MB / 413.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.02746, allocations: 0 / 413.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.02758, allocations: 67.84 kB / 413.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/0.02804, allocations: 250.6 kB / 414.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.02806, allocations: 16 kB / 414.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.03091, allocations: 7.603 MB / 421.8 MB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.03091, allocations: 3.938 kB / 421.8 MB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.03159, allocations: 1.08 MB / 422.9 MB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.03163, allocations: 55.56 kB / 422.9 MB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.03165, allocations: 12 kB / 422.9 MB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.03181, allocations: 12 kB / 422.9 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.03186, allocations: 71.73 kB / 423 MB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.03188, allocations: 15.94 kB / 423 MB, free: 4.242 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.434e-05/0.03197, allocations: 213.1 kB / 423.2 MB, free: 4.031 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03197, allocations: 0 / 423.2 MB, free: 4.031 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.03249, allocations: 279.3 kB / 423.5 MB, free: 3.758 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.0001548/0.03265, allocations: 135.5 kB / 423.6 MB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006979/0.03335, allocations: 1.144 MB / 424.8 MB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.03335, allocations: 0 / 424.8 MB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.03378, allocations: 0.9344 MB / 425.7 MB, free: 1.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.03415, allocations: 56.22 kB / 425.8 MB, free: 1.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.03532, allocations: 1.138 MB / 426.9 MB, free: 156 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.03543, allocations: 147.5 kB / 427 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.03557, allocations: 68.42 kB / 427.1 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.03567, allocations: 126.2 kB / 427.2 MB, free: 15.79 MB / 410.7 MB Notification: Performance of SimCode: time 6.32e-07/0.03567, allocations: 3.938 kB / 427.2 MB, free: 15.79 MB / 410.7 MB Notification: Performance of Templates: time 0.01071/0.04638, allocations: 7.429 MB / 434.7 MB, free: 8.418 MB / 410.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.1216725623235106]