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.001108/0.001108, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.002747, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001402/0.001402, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002938, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9341/0.9341, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08563/1.02, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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.2792/0.2792, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02425/0.3034, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.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.283e-06/1.283e-06, allocations: 0 / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.208e-06/1.049e-05, allocations: 3.516 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004319/0.00433, allocations: 5.215 MB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.006276, allocations: 1.697 MB / 300.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.006436, allocations: 20 kB / 300.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.007893, allocations: 1.688 MB / 302.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.008259, allocations: 321.3 kB / 302.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.008855, allocations: 0.5022 MB / 303.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.009376, allocations: 0.8401 MB / 304.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006246/0.01, allocations: 0.6411 MB / 304.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.0104, allocations: 0.5269 MB / 305.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.01072, allocations: 355.1 kB / 305.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.102e-05/0.01079, allocations: 76 kB / 305.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.01105, allocations: 203.7 kB / 305.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-05/0.01112, allocations: 131.6 kB / 306 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.0113, allocations: 239.5 kB / 306.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.01212, allocations: 0.7044 MB / 307 MB, free: 7.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/0.01213, allocations: 0 / 307 MB, free: 7.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01213, allocations: 4 kB / 307 MB, free: 7.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.01215, allocations: 4 kB / 307 MB, free: 7.984 MB / 298.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.001871/0.01402, allocations: 1.59 MB / 308.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.01405, allocations: 12.92 kB / 308.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/0.01495, allocations: 412.1 kB / 309 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.01508, allocations: 209.2 kB / 309.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.01513, allocations: 78.31 kB / 309.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.243e-05/0.01521, allocations: 104.1 kB / 309.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.01579, allocations: 0.6794 MB / 310.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.01581, allocations: 0 / 310.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.01585, allocations: 40 kB / 310.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.01586, allocations: 24 kB / 310.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.01616, allocations: 276.2 kB / 310.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.01835, allocations: 2.258 MB / 312.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/0.01909, allocations: 0.6741 MB / 313.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.01921, allocations: 145.1 kB / 313.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.287e-05/0.01927, allocations: 32.3 kB / 313.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.0193, allocations: 54.67 kB / 313.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.813e-06/0.0193, allocations: 0 / 313.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001023/0.02032, allocations: 0.6924 MB / 314.2 MB, free: 468 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.02037, allocations: 132.5 kB / 314.4 MB, free: 304 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.02052, allocations: 280.6 kB / 314.6 MB, free: 12 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.02055, allocations: 33.7 kB / 314.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.02071, allocations: 415.7 kB / 315.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.02082, allocations: 246 kB / 315.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.02093, allocations: 146.5 kB / 315.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.02103, allocations: 350.7 kB / 315.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.02111, allocations: 77.95 kB / 315.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.02128, allocations: 296.5 kB / 316.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.0216, allocations: 438.2 kB / 316.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.02161, allocations: 4 kB / 316.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005529/0.02216, allocations: 0.5521 MB / 317.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.02218, allocations: 8 kB / 317.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.02219, allocations: 4 kB / 317.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/0.02271, allocations: 235.5 kB / 317.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.02297, allocations: 163.7 kB / 317.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.02563, allocations: 5.303 MB / 322.9 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.02582, allocations: 87.34 kB / 323 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.02584, allocations: 32.09 kB / 323 MB, free: 7.117 MB / 314.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.0001302/0.02597, allocations: 161.5 kB / 323.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.02604, allocations: 47.97 kB / 323.2 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.02647, allocations: 425.1 kB / 323.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.02647, allocations: 8 kB / 323.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.02648, allocations: 11.98 kB / 323.6 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.02648, allocations: 3.984 kB / 323.6 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000916/0.0274, allocations: 0.8885 MB / 324.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.0274, allocations: 4 kB / 324.5 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.02754, allocations: 79.89 kB / 324.6 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.02758, allocations: 55.52 kB / 324.6 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004139/0.02799, allocations: 215.7 kB / 324.9 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.02801, allocations: 19.98 kB / 324.9 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.03033, allocations: 5.262 MB / 330.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.03033, allocations: 3.984 kB / 330.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.03087, allocations: 0.7959 MB / 330.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.0309, allocations: 16 kB / 331 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.03104, allocations: 15.98 kB / 331 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.03109, allocations: 55.89 kB / 331 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.03111, allocations: 12.03 kB / 331 MB, free: 14.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.962e-05/0.03117, allocations: 90.75 kB / 331.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03117, allocations: 3.938 kB / 331.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004891/0.03166, allocations: 279.3 kB / 331.4 MB, free: 14.23 MB / 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.0001583/0.03181, allocations: 120.3 kB / 331.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006078/0.03242, allocations: 0.8868 MB / 332.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/0.03244, allocations: 12.48 kB / 332.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.0328, allocations: 0.6995 MB / 333.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.03315, allocations: 97.86 kB / 333.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/0.03851, allocations: 1.154 MB / 334.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.03862, allocations: 159.5 kB / 334.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.03876, allocations: 60.44 kB / 334.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.03886, allocations: 107.3 kB / 334.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03886, allocations: 4 kB / 334.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of Templates: time 0.009871/0.04873, allocations: 7.507 MB / 342.2 MB, free: 3.383 MB / 330.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 -ignoreHideResult -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: 2.989872757345438]