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.001413/0.001413, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001594/0.001594, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.349/1.349, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.2115/0.2115, allocations: 46.93 MB / 361.5 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] 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.002147/0.002147, allocations: 75.88 kB / 0.4974 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2619, allocations: 66.07 MB / 0.5619 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004716/0.2667, allocations: 3.559 MB / 0.5654 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.268, allocations: 0.8335 MB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.2682, allocations: 11.94 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.2684, allocations: 75.23 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.2687, allocations: 126.8 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.269, allocations: 135.8 kB / 0.5666 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.2695, allocations: 0.5219 MB / 0.5671 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.2698, allocations: 185 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.27, allocations: 211.3 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.2703, allocations: 238.9 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.2703, allocations: 52 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.885e-05/0.2704, allocations: 48 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.2705, allocations: 111.6 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.2707, allocations: 254.8 kB / 0.5681 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005574/0.2713, allocations: 0.5482 MB / 0.5687 GB, free: 13.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2713, allocations: 0 / 0.5687 GB, free: 13.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2713, allocations: 0 / 0.5687 GB, free: 13.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.2713, allocations: 0 / 0.5687 GB, free: 13.31 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.001219/0.2725, allocations: 0.7 MB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2725, allocations: 16.02 kB / 0.5694 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.891e-05/0.2726, allocations: 56.55 kB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.2731, allocations: 255.8 kB / 0.5697 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.2731, allocations: 45.31 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.2732, allocations: 40.38 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007875/0.2739, allocations: 471.5 kB / 0.5702 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.274, allocations: 0 / 0.5702 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.274, allocations: 20 kB / 0.5702 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.274, allocations: 12 kB / 0.5702 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/0.2747, allocations: 324.1 kB / 0.5705 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.277, allocations: 1.604 MB / 0.5721 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.2775, allocations: 236.9 kB / 0.5723 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.2778, allocations: 125.6 kB / 0.5724 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.2779, allocations: 8 kB / 0.5724 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.2779, allocations: 42.72 kB / 0.5725 GB, free: 9.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.2779, allocations: 3.938 kB / 0.5725 GB, free: 9.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002689/0.2806, allocations: 1.126 MB / 0.5736 GB, free: 7.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.2807, allocations: 89.02 kB / 0.5737 GB, free: 7.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.2809, allocations: 261.9 kB / 0.5739 GB, free: 7.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.281, allocations: 29.7 kB / 0.574 GB, free: 7.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.2811, allocations: 264.1 kB / 0.5742 GB, free: 7.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.2812, allocations: 130.9 kB / 0.5743 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2813, allocations: 74.09 kB / 0.5744 GB, free: 7.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2815, allocations: 342.8 kB / 0.5747 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.2818, allocations: 112.8 kB / 0.5748 GB, free: 6.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.2821, allocations: 208.3 kB / 0.575 GB, free: 6.418 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.2827, allocations: 338.5 kB / 0.5754 GB, free: 6.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2827, allocations: 0 / 0.5754 GB, free: 6.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008002/0.2835, allocations: 417.8 kB / 0.5758 GB, free: 5.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2835, allocations: 8.375 kB / 0.5758 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2835, allocations: 11.94 kB / 0.5758 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.2836, allocations: 32.84 kB / 0.5758 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.2841, allocations: 123.8 kB / 0.5759 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.2852, allocations: 1.327 MB / 0.5772 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.2854, allocations: 19.98 kB / 0.5772 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.2855, allocations: 20 kB / 0.5773 GB, free: 3.961 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.0001934/0.2857, allocations: 171 kB / 0.5774 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.2857, allocations: 35.8 kB / 0.5775 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.152e-05/0.2858, allocations: 38.12 kB / 0.5775 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2858, allocations: 4.141 kB / 0.5775 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2858, allocations: 7.969 kB / 0.5775 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2858, allocations: 0 / 0.5775 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.2869, allocations: 0.6794 MB / 0.5782 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2869, allocations: 4 kB / 0.5782 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.2873, allocations: 95.92 kB / 0.5783 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.683e-05/0.2874, allocations: 28.78 kB / 0.5783 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.2874, allocations: 12 kB / 0.5783 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.2884, allocations: 1.323 MB / 0.5796 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2884, allocations: 0 / 0.5796 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/0.2894, allocations: 0.6086 MB / 0.5802 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.2895, allocations: 51.81 kB / 0.5802 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.2895, allocations: 8 kB / 0.5802 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.2898, allocations: 15.98 kB / 0.5803 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.2898, allocations: 27.89 kB / 0.5803 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2898, allocations: 12 kB / 0.5803 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.29, allocations: 189.2 kB / 0.5805 GB, free: 464 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.29, allocations: 0 / 0.5805 GB, free: 464 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.2904, allocations: 92 kB / 0.5806 GB, free: 372 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.0001252/0.2906, allocations: 103.4 kB / 0.5807 GB, free: 260 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007922/0.2914, allocations: 402.3 kB / 0.581 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.2914, allocations: 7.938 kB / 0.5811 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.2917, allocations: 240.8 kB / 0.5813 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.2922, allocations: 49.22 kB / 0.5813 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.2938, allocations: 0.9534 MB / 0.5823 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.2942, allocations: 0.8074 MB / 0.5831 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.2943, allocations: 31.44 kB / 0.5831 GB, free: 13.69 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2943, allocations: 0 / 0.5831 GB, free: 13.69 MB / 430.1 MB Notification: Performance of Templates: time 0.008155/0.3025, allocations: 6.005 MB / 0.5889 GB, free: 7.695 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/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: 7.239964290056378]