Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001813/0.001813, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.00229/0.00229, allocations: 213.1 kB / 22.99 MB, free: 5.609 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.494/1.494, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 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.2361/0.2361, allocations: 46.92 MB / 359.4 MB, free: 4.84 MB / 286.1 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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 83.86 kB / 0.4946 GB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3869, allocations: 65.99 MB / 0.5591 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005524/0.3924, allocations: 3.549 MB / 0.5625 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3943, allocations: 0.8296 MB / 0.5634 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.3946, allocations: 11.94 kB / 0.5634 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.3948, allocations: 71.3 kB / 0.5634 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.3951, allocations: 134.8 kB / 0.5636 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.3955, allocations: 135.7 kB / 0.5637 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000586/0.3961, allocations: 0.5179 MB / 0.5642 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.3965, allocations: 180.6 kB / 0.5644 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.3967, allocations: 211.3 kB / 0.5646 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.3971, allocations: 235 kB / 0.5648 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-05/0.3971, allocations: 52 kB / 0.5648 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.3972, allocations: 48 kB / 0.5649 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3973, allocations: 115.5 kB / 0.565 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.3976, allocations: 246.9 kB / 0.5652 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007101/0.3983, allocations: 0.5599 MB / 0.5658 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3983, allocations: 0 / 0.5658 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3983, allocations: 0 / 0.5658 GB, free: 14.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3983, allocations: 0 / 0.5658 GB, free: 14.13 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001565/0.3999, allocations: 0.7715 MB / 0.5665 GB, free: 13.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.3999, allocations: 12.03 kB / 0.5665 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.4, allocations: 52.61 kB / 0.5666 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.4006, allocations: 321.5 kB / 0.5669 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.4007, allocations: 37.38 kB / 0.5669 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.916e-05/0.4008, allocations: 44.38 kB / 0.567 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/0.4017, allocations: 471.2 kB / 0.5674 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4017, allocations: 4 kB / 0.5674 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.4017, allocations: 20 kB / 0.5675 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.4018, allocations: 16 kB / 0.5675 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/0.4025, allocations: 323.8 kB / 0.5678 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/0.4051, allocations: 1.671 MB / 0.5694 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.4056, allocations: 225 kB / 0.5696 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.406, allocations: 129.6 kB / 0.5697 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.406, allocations: 224 / 0.5697 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.406, allocations: 42.5 kB / 0.5698 GB, free: 9.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.406, allocations: 0 / 0.5698 GB, free: 9.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003099/0.4091, allocations: 1.351 MB / 0.5711 GB, free: 8.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.4092, allocations: 89 kB / 0.5712 GB, free: 8.195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.4095, allocations: 262.6 kB / 0.5714 GB, free: 7.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.4095, allocations: 33.7 kB / 0.5715 GB, free: 7.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.4097, allocations: 264.1 kB / 0.5717 GB, free: 7.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.4098, allocations: 126.9 kB / 0.5718 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.41, allocations: 82.08 kB / 0.5719 GB, free: 7.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4101, allocations: 338.8 kB / 0.5722 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.4104, allocations: 104.8 kB / 0.5723 GB, free: 6.969 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.4107, allocations: 220.2 kB / 0.5726 GB, free: 6.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.4114, allocations: 335.8 kB / 0.5729 GB, free: 6.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4114, allocations: 4 kB / 0.5729 GB, free: 6.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008762/0.4123, allocations: 420.5 kB / 0.5733 GB, free: 5.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4123, allocations: 8 kB / 0.5733 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4123, allocations: 0 / 0.5733 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.4124, allocations: 28.84 kB / 0.5733 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.4129, allocations: 127.7 kB / 0.5734 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.4142, allocations: 1.446 MB / 0.5749 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.4145, allocations: 24.06 kB / 0.5749 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.4145, allocations: 19.98 kB / 0.5749 GB, free: 4.129 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.4147, allocations: 169.7 kB / 0.5751 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.4148, allocations: 27.81 kB / 0.5751 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.37e-05/0.4149, allocations: 38.17 kB / 0.5751 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.4149, allocations: 4 kB / 0.5751 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4149, allocations: 3.938 kB / 0.5751 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4149, allocations: 0 / 0.5751 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.4161, allocations: 0.7154 MB / 0.5758 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4161, allocations: 0 / 0.5758 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.4165, allocations: 91.88 kB / 0.5759 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.389e-05/0.4166, allocations: 28.91 kB / 0.5759 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.4166, allocations: 15.94 kB / 0.576 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.4179, allocations: 1.423 MB / 0.5773 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4179, allocations: 0 / 0.5773 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.4189, allocations: 0.6097 MB / 0.5779 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.419, allocations: 124.9 kB / 0.5781 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.4191, allocations: 4 kB / 0.5781 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.4193, allocations: 19.98 kB / 0.5781 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.4194, allocations: 39.83 kB / 0.5781 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.4194, allocations: 12 kB / 0.5781 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.4196, allocations: 178 kB / 0.5783 GB, free: 384 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4196, allocations: 0 / 0.5783 GB, free: 384 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.000455/0.4201, allocations: 92 kB / 0.5784 GB, free: 292 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,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.4202, allocations: 118.5 kB / 0.5785 GB, free: 168 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000892/0.4211, allocations: 398.1 kB / 0.5789 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4211, allocations: 0 / 0.5789 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.4216, allocations: 248.5 kB / 0.5791 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.422, allocations: 44.55 kB / 0.5792 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.4238, allocations: 0.9149 MB / 0.5801 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.4242, allocations: 0.8152 MB / 0.5809 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.4244, allocations: 38.95 kB / 0.5809 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.4245, allocations: 23.44 kB / 0.5809 GB, free: 13.61 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4245, allocations: 0 / 0.5809 GB, free: 13.61 MB / 430.1 MB Notification: Performance of Templates: time 0.008127/0.4326, allocations: 3.31 MB / 0.5841 GB, free: 10.32 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.503875307738781]