Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001719/0.001719, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 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.002232/0.002232, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 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.495/1.495, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.89 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1098, allocations: 53.31 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2197/0.3294, allocations: 6.524 MB / 434.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.3334, allocations: 2.646 MB / 437 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004526/0.3338, allocations: 19.38 kB / 437 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.3365, allocations: 1.287 MB / 438.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.3378, allocations: 0.5338 MB / 438.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.34, allocations: 1.267 MB / 440.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3413, allocations: 1.076 MB / 441.2 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.3423, allocations: 0.7044 MB / 441.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006302/0.343, allocations: 442.4 kB / 442.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007938/0.3438, allocations: 0.547 MB / 442.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.3439, allocations: 97.72 kB / 443 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.3449, allocations: 417.6 kB / 443.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.3451, allocations: 232.9 kB / 443.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.3456, allocations: 0.5262 MB / 444.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.3477, allocations: 1.526 MB / 445.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3477, allocations: 0 / 445.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3477, allocations: 1.156 kB / 445.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.3477, allocations: 0 / 445.7 MB, free: 3.141 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004419/0.3522, allocations: 1.673 MB / 447.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3522, allocations: 9.219 kB / 447.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.3555, allocations: 471.7 kB / 447.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/0.3562, allocations: 0.5059 MB / 448.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.3563, allocations: 83.22 kB / 448.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.3565, allocations: 110 kB / 448.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.3584, allocations: 0.97 MB / 449.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.3584, allocations: 6.094 kB / 449.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/0.3585, allocations: 44.97 kB / 449.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.3585, allocations: 31.42 kB / 449.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.3605, allocations: 0.9606 MB / 450.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006596/0.3671, allocations: 3.773 MB / 454.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.3691, allocations: 1.484 MB / 455.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/0.3699, allocations: 389 kB / 456.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.3701, allocations: 192.5 kB / 456.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00091/0.371, allocations: 475 kB / 456.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.374e-06/0.371, allocations: 1.125 kB / 456.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009772/0.3808, allocations: 3.999 MB / 460.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.3809, allocations: 142.6 kB / 460.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.3815, allocations: 407.3 kB / 461.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.3815, allocations: 48.08 kB / 461.4 MB, free: 10 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.3819, allocations: 439.8 kB / 461.8 MB, free: 9.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000414/0.3823, allocations: 449.6 kB / 462.2 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/0.3827, allocations: 201.5 kB / 462.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.3829, allocations: 381.2 kB / 462.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007537/0.3836, allocations: 350.9 kB / 463.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009259/0.3846, allocations: 0.5463 MB / 463.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.3863, allocations: 0.9446 MB / 464.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.3863, allocations: 2.219 kB / 464.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002815/0.3891, allocations: 1.38 MB / 466 MB, free: 6.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3891, allocations: 7.156 kB / 466 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3892, allocations: 3.75 kB / 466 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009665/0.3901, allocations: 359 kB / 466.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/0.391, allocations: 199.6 kB / 466.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009335/0.4003, allocations: 8.485 MB / 475.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009376/0.4013, allocations: 41.95 kB / 475.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/0.4013, allocations: 45.86 kB / 475.2 MB, free: 14.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005744/0.4019, allocations: 260.3 kB / 475.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4021, allocations: 74.25 kB / 475.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.4048, allocations: 1.289 MB / 476.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.4048, allocations: 12.66 kB / 476.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4049, allocations: 6.812 kB / 476.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.4049, allocations: 13.19 kB / 476.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/0.4094, allocations: 2.513 MB / 479.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.4094, allocations: 4 kB / 479.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.4101, allocations: 159.7 kB / 479.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008671/0.411, allocations: 326.3 kB / 479.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/0.4111, allocations: 35.98 kB / 479.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008544/0.4196, allocations: 8.118 MB / 488 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.4196, allocations: 4 kB / 488 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/0.4233, allocations: 1.821 MB / 489.8 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.4237, allocations: 224.6 kB / 490 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.4238, allocations: 23.98 kB / 490 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.4243, allocations: 35.98 kB / 490.1 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.4245, allocations: 104.8 kB / 490.2 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.4246, allocations: 32 kB / 490.2 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003752/0.425, allocations: 279.2 kB / 490.5 MB, free: 288 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.425, allocations: 0 / 490.5 MB, free: 288 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001446/0.4264, allocations: 323.9 kB / 490.8 MB, free: 15.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003441/0.4267, allocations: 178.9 kB / 491 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00299/0.4297, allocations: 1.55 MB / 492.5 MB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4297, allocations: 0 / 492.5 MB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.4316, allocations: 1.107 MB / 493.6 MB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.4322, allocations: 69.48 kB / 493.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.4362, allocations: 1.99 MB / 495.7 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/0.437, allocations: 1.021 MB / 496.7 MB, free: 9.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.4373, allocations: 71.42 kB / 496.8 MB, free: 9.793 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4373, allocations: 0 / 496.8 MB, free: 9.793 MB / 398.1 MB Notification: Performance of Templates: time 0.03393/0.4712, allocations: 27.06 MB / 0.5115 GB, free: 14.67 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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: 8.866159048164263]