Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001573/0.001573, allocations: 110.5 kB / 21.17 MB, free: 0.7617 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.001877/0.001877, allocations: 214.7 kB / 24.46 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.498/1.498, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.84 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2968, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009282/0.3061, allocations: 6.578 MB / 438.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005845/0.312, allocations: 2.651 MB / 441.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009129/0.3129, allocations: 20 kB / 441.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.3163, allocations: 1.282 MB / 442.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.3183, allocations: 0.5318 MB / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.321, allocations: 1.263 MB / 444.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.3226, allocations: 1.083 MB / 445.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.3237, allocations: 0.6976 MB / 446.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.3244, allocations: 442.4 kB / 446.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000754/0.3252, allocations: 0.5524 MB / 447.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.3253, allocations: 96 kB / 447.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008992/0.3262, allocations: 427.6 kB / 447.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.3264, allocations: 231.1 kB / 447.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.3269, allocations: 0.5247 MB / 448.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.3289, allocations: 1.522 MB / 449.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3289, allocations: 0 / 449.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3289, allocations: 0 / 449.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.3289, allocations: 0 / 449.9 MB, free: 5.438 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.004479/0.3334, allocations: 1.768 MB / 451.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3334, allocations: 12.03 kB / 451.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003353/0.3368, allocations: 483.8 kB / 452.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.3375, allocations: 0.4945 MB / 452.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-05/0.3376, allocations: 82.22 kB / 452.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.3378, allocations: 112 kB / 452.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.3397, allocations: 0.9706 MB / 453.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.3398, allocations: 4 kB / 453.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.3399, allocations: 51.98 kB / 453.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.3399, allocations: 28 kB / 453.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.3418, allocations: 0.9535 MB / 454.9 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006088/0.3479, allocations: 3.769 MB / 458.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.35, allocations: 1.502 MB / 460.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/0.3509, allocations: 392.3 kB / 460.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.3511, allocations: 191.2 kB / 460.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.3521, allocations: 470.5 kB / 461.2 MB, free: 9.598 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.986e-06/0.3521, allocations: 0 / 461.2 MB, free: 9.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009576/0.3617, allocations: 4.012 MB / 465.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.3618, allocations: 141.5 kB / 465.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.3623, allocations: 413.5 kB / 465.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/0.3624, allocations: 45.7 kB / 465.8 MB, free: 4.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.3628, allocations: 437 kB / 466.2 MB, free: 4.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004061/0.3632, allocations: 448.1 kB / 466.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003438/0.3636, allocations: 206.9 kB / 466.8 MB, free: 3.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.3638, allocations: 378.8 kB / 467.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.3645, allocations: 342.5 kB / 467.5 MB, free: 3.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009271/0.3654, allocations: 0.5429 MB / 468.1 MB, free: 2.438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.3672, allocations: 0.9348 MB / 469 MB, free: 1.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.3672, allocations: 0 / 469 MB, free: 1.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002842/0.37, allocations: 1.367 MB / 470.4 MB, free: 64 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.37, allocations: 8 kB / 470.4 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.37, allocations: 4 kB / 470.4 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009951/0.371, allocations: 354.4 kB / 470.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009122/0.3719, allocations: 203.7 kB / 470.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009321/0.3813, allocations: 8.482 MB / 479.4 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.3821, allocations: 39.98 kB / 479.5 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/0.3822, allocations: 47.98 kB / 479.5 MB, free: 6.379 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.0005027/0.3827, allocations: 261.6 kB / 479.8 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3829, allocations: 75.53 kB / 479.8 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/0.3856, allocations: 1.286 MB / 481.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.3857, allocations: 19.98 kB / 481.1 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3857, allocations: 4 kB / 481.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3857, allocations: 3.984 kB / 481.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/0.3903, allocations: 2.518 MB / 483.7 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.3903, allocations: 4 kB / 483.7 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007221/0.391, allocations: 151.7 kB / 483.8 MB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008584/0.3919, allocations: 339.3 kB / 484.1 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/0.392, allocations: 28 kB / 484.2 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0085/0.4005, allocations: 8.118 MB / 492.3 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.4005, allocations: 7.938 kB / 492.3 MB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.404, allocations: 1.802 MB / 494.1 MB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.4044, allocations: 224.8 kB / 494.3 MB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.4045, allocations: 24 kB / 494.3 MB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.405, allocations: 39.98 kB / 494.4 MB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.4053, allocations: 108.7 kB / 494.5 MB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/0.4053, allocations: 35.98 kB / 494.5 MB, free: 6.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000362/0.4057, allocations: 279.2 kB / 494.8 MB, free: 6.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4057, allocations: 0 / 494.8 MB, free: 6.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00121/0.4069, allocations: 315.9 kB / 495.1 MB, free: 6.035 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,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.0003362/0.4072, allocations: 179 kB / 495.3 MB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002862/0.4101, allocations: 1.55 MB / 496.8 MB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4101, allocations: 0 / 496.8 MB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.4119, allocations: 1.103 MB / 497.9 MB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.4126, allocations: 84.23 kB / 498 MB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.4165, allocations: 1.938 MB / 500 MB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/0.4172, allocations: 1.021 MB / 0.4892 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004124/0.4176, allocations: 102.2 kB / 0.4893 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.4178, allocations: 67.41 kB / 0.4894 GB, free: 15.81 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4178, allocations: 3.938 kB / 0.4894 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Templates: time 0.02414/0.4419, allocations: 11.88 MB / 0.501 GB, free: 3.938 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 5.149933976121247]