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.0009243/0.0009243, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0008932/0.0008932, allocations: 157.6 kB / 24.99 MB, free: 9.289 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.9157/0.9157, allocations: 177 MB / 205.2 MB, free: 5.609 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.2319/0.2319, allocations: 34.87 MB / 296.6 MB, free: 0.5625 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.513e-06/1.513e-06, allocations: 0 / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.546e-05, allocations: 6.25 kB / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004321/0.004337, allocations: 5.239 MB / 384 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.006606, allocations: 1.619 MB / 385.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.006855, allocations: 20 kB / 385.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.008643, allocations: 1.684 MB / 387.3 MB, free: 9.812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005694/0.009212, allocations: 329.3 kB / 387.6 MB, free: 9.488 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/0.009932, allocations: 0.5023 MB / 388.1 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006435/0.01058, allocations: 0.8393 MB / 389 MB, free: 8.141 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.01128, allocations: 0.6351 MB / 389.6 MB, free: 7.492 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.01173, allocations: 0.5028 MB / 390.1 MB, free: 6.988 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.01206, allocations: 355 kB / 390.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.01213, allocations: 76 kB / 390.5 MB, free: 6.566 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.01242, allocations: 195.8 kB / 390.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.583e-05/0.0125, allocations: 175.3 kB / 390.9 MB, free: 6.203 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.01269, allocations: 291.3 kB / 391.2 MB, free: 5.918 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006595/0.01335, allocations: 0.7628 MB / 391.9 MB, free: 5.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.01335, allocations: 0 / 391.9 MB, free: 5.152 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01335, allocations: 0 / 391.9 MB, free: 5.152 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.01336, allocations: 0 / 391.9 MB, free: 5.152 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.002/0.01536, allocations: 1.42 MB / 393.4 MB, free: 3.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.01539, allocations: 8.031 kB / 393.4 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.01649, allocations: 395.8 kB / 393.8 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.01665, allocations: 200 kB / 393.9 MB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.0167, allocations: 74.38 kB / 394 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.0168, allocations: 108.3 kB / 394.1 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008319/0.01763, allocations: 0.7491 MB / 394.9 MB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.01766, allocations: 15.92 kB / 394.9 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.01771, allocations: 43.94 kB / 394.9 MB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.01773, allocations: 24 kB / 395 MB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.01832, allocations: 415.6 kB / 395.4 MB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.02108, allocations: 2.874 MB / 398.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009228/0.022, allocations: 0.7955 MB / 399 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.02221, allocations: 200.4 kB / 399.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.02226, allocations: 32.31 kB / 399.3 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.02229, allocations: 53.5 kB / 399.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 1.973e-06/0.02229, allocations: 0 / 399.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001444/0.02373, allocations: 0.8733 MB / 400.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.02378, allocations: 140.6 kB / 400.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.024, allocations: 344 kB / 400.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.02402, allocations: 37.7 kB / 400.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.02418, allocations: 458.5 kB / 401.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.02429, allocations: 242 kB / 401.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.02443, allocations: 164.2 kB / 401.5 MB, free: 11.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.02455, allocations: 0.5235 MB / 402.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.02471, allocations: 121.8 kB / 402.2 MB, free: 10.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.02498, allocations: 398.2 kB / 402.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.02548, allocations: 0.5624 MB / 403.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.02548, allocations: 0 / 403.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001135/0.02661, allocations: 0.7531 MB / 403.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.02663, allocations: 4 kB / 403.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.02664, allocations: 11.94 kB / 403.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/0.02729, allocations: 266.9 kB / 404.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.02755, allocations: 135.8 kB / 404.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/0.03114, allocations: 7.776 MB / 412.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.03137, allocations: 83.41 kB / 412.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.0314, allocations: 36 kB / 412.2 MB, free: 15.76 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.0001525/0.03155, allocations: 208.3 kB / 412.4 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.03165, allocations: 59.77 kB / 412.4 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000669/0.03231, allocations: 0.5614 MB / 413 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.03232, allocations: 11.94 kB / 413 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.03233, allocations: 4 kB / 413 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.03233, allocations: 3.984 kB / 413 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.03365, allocations: 1.331 MB / 414.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03365, allocations: 0 / 414.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.03379, allocations: 75.89 kB / 414.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005579/0.03435, allocations: 246.8 kB / 414.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.03437, allocations: 15.98 kB / 414.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.03773, allocations: 7.756 MB / 422.4 MB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.03774, allocations: 4 kB / 422.5 MB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.03862, allocations: 1.151 MB / 423.6 MB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.03866, allocations: 55.56 kB / 423.7 MB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.03869, allocations: 12 kB / 423.7 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.03886, allocations: 12 kB / 423.7 MB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/0.03894, allocations: 63.77 kB / 423.7 MB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.03896, allocations: 24.02 kB / 423.8 MB, free: 3.539 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.03908, allocations: 217.1 kB / 424 MB, free: 3.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03908, allocations: 0 / 424 MB, free: 3.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006237/0.03971, allocations: 283.3 kB / 424.3 MB, free: 3.051 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.0001942/0.0399, allocations: 135.2 kB / 424.4 MB, free: 2.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.04107, allocations: 1.183 MB / 425.6 MB, free: 1.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.04108, allocations: 0 / 425.6 MB, free: 1.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.0416, allocations: 0.9573 MB / 426.5 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.042, allocations: 60.25 kB / 426.6 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.04345, allocations: 1.135 MB / 427.7 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.04356, allocations: 159.3 kB / 427.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.04371, allocations: 64.42 kB / 427.9 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.04376, allocations: 36.5 kB / 428 MB, free: 15.1 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.04376, allocations: 0 / 428 MB, free: 15.1 MB / 410.7 MB Notification: Performance of Templates: time 0.009327/0.05309, allocations: 6.891 MB / 434.9 MB, free: 8.281 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.2278912710025907]