Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 114 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 208.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 254.8 MB, free: 15.1 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 43.94 kB / 374.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1173, allocations: 53.32 MB / 427.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2362/0.3535, allocations: 6.534 MB / 434 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00481/0.3583, allocations: 2.644 MB / 436.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.3595, allocations: 22.84 kB / 436.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00341/0.3629, allocations: 1.28 MB / 438 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.3651, allocations: 0.536 MB / 438.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.3676, allocations: 1.263 MB / 439.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.3694, allocations: 1.073 MB / 440.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.3705, allocations: 0.6997 MB / 441.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006549/0.3712, allocations: 464.8 kB / 442 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006422/0.3718, allocations: 0.5422 MB / 442.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.3719, allocations: 96.75 kB / 442.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.373, allocations: 422.7 kB / 443 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.3732, allocations: 237.4 kB / 443.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.3737, allocations: 0.5226 MB / 443.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.3758, allocations: 1.518 MB / 445.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3758, allocations: 5.312 kB / 445.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3758, allocations: 0 / 445.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.328e-05/0.3758, allocations: 0 / 445.3 MB, free: 2.871 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.00461/0.3804, allocations: 1.674 MB / 447 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.3805, allocations: 9.953 kB / 447 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.3839, allocations: 477 kB / 447.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009361/0.3848, allocations: 0.4983 MB / 448 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.222e-05/0.3849, allocations: 88.48 kB / 448 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.3851, allocations: 109.5 kB / 448.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.3872, allocations: 0.9699 MB / 449.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.3873, allocations: 6.141 kB / 449.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.3874, allocations: 41.03 kB / 449.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.3874, allocations: 34.69 kB / 449.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.3895, allocations: 0.9617 MB / 450.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007668/0.3972, allocations: 3.763 MB / 453.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.3993, allocations: 1.487 MB / 455.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007537/0.4, allocations: 389.8 kB / 455.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.4002, allocations: 184.5 kB / 456 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008914/0.4011, allocations: 478 kB / 456.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.585e-06/0.4011, allocations: 0 / 456.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009668/0.4108, allocations: 4.007 MB / 460.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.4109, allocations: 145.5 kB / 460.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.4114, allocations: 408 kB / 461 MB, free: 9.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/0.4115, allocations: 50.58 kB / 461 MB, free: 9.711 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.4118, allocations: 441 kB / 461.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003631/0.4122, allocations: 442.3 kB / 461.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.4125, allocations: 205.2 kB / 462.1 MB, free: 8.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4127, allocations: 378.1 kB / 462.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007208/0.4134, allocations: 353.8 kB / 462.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000904/0.4143, allocations: 0.5394 MB / 463.4 MB, free: 7.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.416, allocations: 0.9443 MB / 464.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.416, allocations: 3.094 kB / 464.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003238/0.4192, allocations: 1.377 MB / 465.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.4193, allocations: 7.031 kB / 465.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.4193, allocations: 4.812 kB / 465.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009717/0.4203, allocations: 354.6 kB / 466 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.4211, allocations: 203.3 kB / 466.2 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009011/0.4301, allocations: 8.488 MB / 474.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009831/0.4311, allocations: 43.92 kB / 474.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/0.4312, allocations: 47.39 kB / 474.8 MB, free: 14.6 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.0005302/0.4317, allocations: 261 kB / 475.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.4319, allocations: 75.09 kB / 475.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.4345, allocations: 1.285 MB / 476.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.4346, allocations: 13.66 kB / 476.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4346, allocations: 9.969 kB / 476.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.4346, allocations: 9.031 kB / 476.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/0.4391, allocations: 2.523 MB / 479 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4391, allocations: 0 / 479 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/0.4398, allocations: 155.8 kB / 479.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008595/0.4407, allocations: 329.9 kB / 479.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/0.4407, allocations: 31.98 kB / 479.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008321/0.4491, allocations: 8.116 MB / 487.6 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.4491, allocations: 7.938 kB / 487.6 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/0.4527, allocations: 1.81 MB / 489.4 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/0.4532, allocations: 224.6 kB / 489.6 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.4533, allocations: 31.98 kB / 489.7 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.4538, allocations: 35.98 kB / 489.7 MB, free: 340 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.454, allocations: 104.7 kB / 489.8 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.4541, allocations: 32 kB / 489.8 MB, free: 204 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000371/0.4545, allocations: 275.2 kB / 490.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4545, allocations: 0 / 490.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001353/0.4558, allocations: 323.9 kB / 490.4 MB, free: 15.61 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.0003294/0.4562, allocations: 179 kB / 490.6 MB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002919/0.4591, allocations: 1.55 MB / 492.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.4591, allocations: 320 / 492.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.4609, allocations: 1.107 MB / 493.3 MB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.4615, allocations: 86.44 kB / 493.3 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.4654, allocations: 1.984 MB / 495.3 MB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.4661, allocations: 1.024 MB / 496.4 MB, free: 9.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.4664, allocations: 71.41 kB / 496.4 MB, free: 9.434 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4664, allocations: 0 / 496.4 MB, free: 9.434 MB / 398.1 MB Notification: Performance of Templates: time 0.032/0.4984, allocations: 27.05 MB / 0.5112 GB, free: 14.32 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 9.158642375987256]