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.001798/0.001798, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.00213/0.00213, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.529/1.529, allocations: 230.3 MB / 258 MB, free: 8.246 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.2414/0.2414, allocations: 46.9 MB / 361.3 MB, free: 4.438 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.002334/0.002334, allocations: 79.88 kB / 0.497 GB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4699, allocations: 66.03 MB / 0.5615 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.006008/0.4759, allocations: 3.556 MB / 0.565 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.4779, allocations: 0.8334 MB / 0.5658 GB, free: 220 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.4781, allocations: 8 kB / 0.5658 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.4783, allocations: 79.22 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.4786, allocations: 126.8 kB / 0.566 GB, free: 4 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.479, allocations: 131.8 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006132/0.4797, allocations: 0.5219 MB / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.48, allocations: 189.2 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.4803, allocations: 207.3 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.4806, allocations: 239 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.178e-05/0.4807, allocations: 52 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.554e-05/0.4808, allocations: 48 kB / 0.5674 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.4809, allocations: 107.6 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.4812, allocations: 254.8 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.4819, allocations: 0.5599 MB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4819, allocations: 0 / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4819, allocations: 0 / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.4819, allocations: 4 kB / 0.5682 GB, free: 13.71 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.00157/0.4835, allocations: 0.6962 MB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.4835, allocations: 12.03 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.4837, allocations: 52.61 kB / 0.569 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.4842, allocations: 259.7 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.4842, allocations: 33.38 kB / 0.5693 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.4843, allocations: 48.36 kB / 0.5693 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009413/0.4852, allocations: 475.5 kB / 0.5698 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.4853, allocations: 4 kB / 0.5698 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.4853, allocations: 16 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4853, allocations: 15.94 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/0.4861, allocations: 324.1 kB / 0.5701 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.4889, allocations: 1.615 MB / 0.5717 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.4895, allocations: 225 kB / 0.5719 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.4898, allocations: 125.7 kB / 0.572 GB, free: 9.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.4899, allocations: 4.219 kB / 0.572 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4899, allocations: 38.5 kB / 0.5721 GB, free: 9.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.4899, allocations: 0 / 0.5721 GB, free: 9.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003082/0.493, allocations: 1.127 MB / 0.5732 GB, free: 8.395 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.4931, allocations: 89 kB / 0.5732 GB, free: 8.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.4934, allocations: 257.9 kB / 0.5735 GB, free: 8.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.4934, allocations: 29.7 kB / 0.5735 GB, free: 7.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.4937, allocations: 260.1 kB / 0.5738 GB, free: 7.738 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.4938, allocations: 138.9 kB / 0.5739 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.4939, allocations: 74.09 kB / 0.574 GB, free: 7.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.4941, allocations: 342.8 kB / 0.5743 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.4945, allocations: 108.8 kB / 0.5744 GB, free: 7.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.4948, allocations: 220.2 kB / 0.5746 GB, free: 6.816 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/0.4955, allocations: 338.1 kB / 0.5749 GB, free: 6.449 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4955, allocations: 0 / 0.5749 GB, free: 6.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009096/0.4964, allocations: 418 kB / 0.5753 GB, free: 6.031 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.4965, allocations: 8 kB / 0.5753 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4965, allocations: 4 kB / 0.5753 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.4967, allocations: 32.83 kB / 0.5754 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.4971, allocations: 132 kB / 0.5755 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.4985, allocations: 1.338 MB / 0.5768 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.4988, allocations: 16 kB / 0.5768 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.4988, allocations: 16 kB / 0.5768 GB, free: 4.359 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.0002363/0.499, allocations: 169.6 kB / 0.577 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.4991, allocations: 31.81 kB / 0.577 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.141e-05/0.4992, allocations: 38.11 kB / 0.5771 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4992, allocations: 8.062 kB / 0.5771 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4992, allocations: 0 / 0.5771 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4992, allocations: 0 / 0.5771 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.5004, allocations: 0.6856 MB / 0.5777 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5004, allocations: 3.938 kB / 0.5778 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.5008, allocations: 95.94 kB / 0.5778 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.94e-05/0.5009, allocations: 28.98 kB / 0.5779 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.5009, allocations: 7.938 kB / 0.5779 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.502, allocations: 1.319 MB / 0.5792 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.502, allocations: 3.984 kB / 0.5792 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.5031, allocations: 0.6086 MB / 0.5798 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.917e-05/0.5032, allocations: 43.83 kB / 0.5798 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.5033, allocations: 8 kB / 0.5798 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.5035, allocations: 23.98 kB / 0.5798 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.5036, allocations: 23.89 kB / 0.5799 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.5036, allocations: 12 kB / 0.5799 GB, free: 1.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.5038, allocations: 189.2 kB / 0.5801 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5038, allocations: 0 / 0.5801 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004529/0.5043, allocations: 92 kB / 0.5801 GB, free: 0.7734 MB / 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.0001463/0.5044, allocations: 111.1 kB / 0.5802 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009775/0.5054, allocations: 397.4 kB / 0.5806 GB, free: 264 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.5054, allocations: 128 / 0.5806 GB, free: 264 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.5058, allocations: 248.8 kB / 0.5809 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.5064, allocations: 45.33 kB / 0.5809 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.5082, allocations: 0.9197 MB / 0.5818 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.5087, allocations: 0.8074 MB / 0.5826 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.5089, allocations: 34.95 kB / 0.5826 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.5089, allocations: 35.42 kB / 0.5827 GB, free: 14.1 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5089, allocations: 0 / 0.5827 GB, free: 14.1 MB / 430.1 MB Notification: Performance of Templates: time 0.008921/0.5179, allocations: 3.411 MB / 0.586 GB, free: 10.71 MB / 430.1 MB " [Timeout remaining time 659] 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.701955511234701]