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.002626/0.002626, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.003051/0.003051, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.593/1.593, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 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.3695/0.3695, allocations: 34.26 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.973e-06/1.973e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.439e-05, allocations: 6.25 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.008266/0.008301, allocations: 5.208 MB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.01185, allocations: 1.611 MB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.01222, allocations: 20 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004185/0.01641, allocations: 1.684 MB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.01743, allocations: 329.3 kB / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.01871, allocations: 0.4945 MB / 386.5 MB, free: 9.523 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.02006, allocations: 0.8394 MB / 387.4 MB, free: 8.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.02111, allocations: 0.6312 MB / 388 MB, free: 8.035 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007473/0.02186, allocations: 0.5105 MB / 388.5 MB, free: 7.523 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005612/0.02242, allocations: 355 kB / 388.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.02254, allocations: 76 kB / 388.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.023, allocations: 187.8 kB / 389.1 MB, free: 6.918 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.02318, allocations: 183.3 kB / 389.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.02356, allocations: 287.3 kB / 389.6 MB, free: 6.457 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.02513, allocations: 1.191 MB / 390.8 MB, free: 5.262 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.02513, allocations: 4 kB / 390.8 MB, free: 5.258 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.02513, allocations: 0 / 390.8 MB, free: 5.258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.02514, allocations: 0 / 390.8 MB, free: 5.258 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.003597/0.02874, allocations: 1.474 MB / 392.3 MB, free: 3.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.02878, allocations: 16.02 kB / 392.3 MB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.03059, allocations: 387.8 kB / 392.7 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.03086, allocations: 208.1 kB / 392.9 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.03094, allocations: 74.38 kB / 392.9 MB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.0311, allocations: 100.3 kB / 393 MB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.03316, allocations: 0.9944 MB / 394 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.03319, allocations: 3.938 kB / 394 MB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.722e-05/0.03329, allocations: 40 kB / 394.1 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.03331, allocations: 24 kB / 394.1 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.0347, allocations: 0.7027 MB / 394.8 MB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005661/0.04036, allocations: 3.198 MB / 398 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.04224, allocations: 0.8344 MB / 398.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.04271, allocations: 288 kB / 399.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.04283, allocations: 32.23 kB / 399.1 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.04287, allocations: 45.72 kB / 399.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.445e-06/0.04287, allocations: 0 / 399.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002929/0.0458, allocations: 1.049 MB / 400.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.04591, allocations: 140.5 kB / 400.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.04643, allocations: 400 kB / 400.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.04647, allocations: 33.7 kB / 400.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006162/0.04708, allocations: 486.5 kB / 401.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.04733, allocations: 246 kB / 401.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.0476, allocations: 180.2 kB / 401.7 MB, free: 9.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003204/0.04792, allocations: 0.543 MB / 402.2 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.04831, allocations: 193.9 kB / 402.4 MB, free: 9.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/0.04898, allocations: 486.2 kB / 402.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.05014, allocations: 0.7382 MB / 403.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.05015, allocations: 3.938 kB / 403.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001806/0.05195, allocations: 0.933 MB / 404.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.05198, allocations: 8 kB / 404.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.05199, allocations: 4 kB / 404.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.05336, allocations: 294.7 kB / 404.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.05386, allocations: 139.8 kB / 405 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008433/0.06229, allocations: 8.312 MB / 413.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.06287, allocations: 87.28 kB / 413.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.06294, allocations: 44.05 kB / 413.4 MB, free: 13.46 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.0004088/0.06335, allocations: 260.4 kB / 413.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.06352, allocations: 63.72 kB / 413.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.06496, allocations: 0.6929 MB / 414.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.06497, allocations: 7.938 kB / 414.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/0.06499, allocations: 8 kB / 414.5 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.065, allocations: 3.984 kB / 414.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.06812, allocations: 1.596 MB / 416.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.06813, allocations: 8 kB / 416.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.06841, allocations: 63.91 kB / 416.1 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.06964, allocations: 282.5 kB / 416.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.06968, allocations: 15.98 kB / 416.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008401/0.07808, allocations: 8.307 MB / 424.7 MB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.07808, allocations: 3.984 kB / 424.7 MB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.08012, allocations: 1.393 MB / 426.1 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.08024, allocations: 51.55 kB / 426.2 MB, free: 76 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.08029, allocations: 12 kB / 426.2 MB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.08062, allocations: 16 kB / 426.2 MB, free: 48 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.08078, allocations: 64.16 kB / 426.3 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.08081, allocations: 16 kB / 426.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003189/0.08113, allocations: 253 kB / 426.5 MB, free: 15.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08113, allocations: 4.031 kB / 426.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001139/0.08227, allocations: 283.3 kB / 426.8 MB, free: 15.44 MB / 410.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.000298/0.08257, allocations: 147.1 kB / 427 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.08454, allocations: 1.332 MB / 428.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.08454, allocations: 3.938 kB / 428.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.08577, allocations: 1.024 MB / 429.3 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.08638, allocations: 48.86 kB / 429.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.08902, allocations: 1.221 MB / 430.6 MB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.08941, allocations: 314.5 kB / 430.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.08965, allocations: 68.42 kB / 431 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.03e-05/0.08974, allocations: 36.5 kB / 431 MB, free: 11.02 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.08974, allocations: 0 / 431 MB, free: 11.02 MB / 410.7 MB Notification: Performance of Templates: time 0.01657/0.1063, allocations: 6.9 MB / 437.9 MB, free: 4.188 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","/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.465045885997824]